Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 193.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.184/1.184, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8168/0.8168, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 71.73 kB / 0.5055 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1228, allocations: 80.92 MB / 0.5845 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005017/0.1278, allocations: 4.164 MB / 0.5885 GB, free: 252 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3255/0.4533, allocations: 150.6 MB / 0.7357 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005193/0.4539, allocations: 15.66 kB / 0.7357 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004364/0.4544, allocations: 173.4 kB / 0.7358 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.4556, allocations: 493.8 kB / 0.7363 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.4571, allocations: 0.7811 MB / 0.7371 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009144/0.458, allocations: 1.212 MB / 0.7383 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007049/0.4587, allocations: 0.617 MB / 0.7389 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004241/0.4591, allocations: 446.5 kB / 0.7393 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004009/0.4595, allocations: 463.2 kB / 0.7397 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.4597, allocations: 105 kB / 0.7398 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005835/0.4602, allocations: 451.5 kB / 0.7403 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.4605, allocations: 275.5 kB / 0.7405 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003597/0.4608, allocations: 0.5094 MB / 0.741 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.462, allocations: 1.457 MB / 0.7424 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.462, allocations: 5.25 kB / 0.7424 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.002e-06/0.462, allocations: 0 / 0.7424 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.462, allocations: 3.984 kB / 0.7424 GB, free: 8.191 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001891/0.4639, allocations: 1.346 MB / 0.7438 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.464, allocations: 10.53 kB / 0.7438 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001355/0.4641, allocations: 131.8 kB / 0.7439 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008333/0.465, allocations: 183.5 kB / 0.7441 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008009/0.4658, allocations: 0.7122 MB / 0.7448 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/0.4658, allocations: 58.59 kB / 0.7448 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.163e-05/0.4659, allocations: 79.56 kB / 0.7449 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.4671, allocations: 0.8871 MB / 0.7458 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.4672, allocations: 0 / 0.7458 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.957e-05/0.4672, allocations: 32.12 kB / 0.7458 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.4672, allocations: 20.78 kB / 0.7458 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.4687, allocations: 1.096 MB / 0.7469 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003113/0.4718, allocations: 2.5 MB / 0.7493 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.4729, allocations: 0.7383 MB / 0.75 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004415/0.4734, allocations: 287 kB / 0.7503 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.614e-05/0.4734, allocations: 40.59 kB / 0.7504 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006928/0.4741, allocations: 435.2 kB / 0.7508 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 1.713e-06/0.4742, allocations: 4 kB / 0.7508 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.002695/0.4769, allocations: 1.116 MB / 0.7519 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/0.4769, allocations: 188.6 kB / 0.752 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005788/0.4775, allocations: 0.5979 MB / 0.7526 GB, free: 180 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/0.4776, allocations: 37.7 kB / 0.7527 GB, free: 136 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.4778, allocations: 384.2 kB / 0.753 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.478, allocations: 256.3 kB / 0.7533 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.4782, allocations: 138.5 kB / 0.7534 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4783, allocations: 390.7 kB / 0.7538 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004083/0.4787, allocations: 225.9 kB / 0.754 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.4792, allocations: 342.2 kB / 0.7543 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000921/0.4802, allocations: 0.5589 MB / 0.7549 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4802, allocations: 0 / 0.7549 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001608/0.4818, allocations: 0.7511 MB / 0.7556 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.4818, allocations: 8 kB / 0.7556 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4818, allocations: 0 / 0.7556 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005299/0.4823, allocations: 88.77 kB / 0.7557 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/0.4829, allocations: 147.8 kB / 0.7558 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.4847, allocations: 1.634 MB / 0.7574 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004987/0.4853, allocations: 71.39 kB / 0.7575 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/0.4853, allocations: 36.05 kB / 0.7575 GB, free: 10.93 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002891/0.4856, allocations: 249.6 kB / 0.7578 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.4858, allocations: 79 kB / 0.7579 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/0.4879, allocations: 1.026 MB / 0.7589 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.4879, allocations: 11.98 kB / 0.7589 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4879, allocations: 4.875 kB / 0.7589 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.4879, allocations: 3.984 kB / 0.7589 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002715/0.4906, allocations: 1.896 MB / 0.7607 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4906, allocations: 0 / 0.7607 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005268/0.4912, allocations: 143.8 kB / 0.7609 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004035/0.4916, allocations: 72.78 kB / 0.7609 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/0.4916, allocations: 26.23 kB / 0.761 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/0.4933, allocations: 1.663 MB / 0.7626 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.4933, allocations: 3.938 kB / 0.7626 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.4949, allocations: 0.9299 MB / 0.7635 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.4952, allocations: 263.8 kB / 0.7637 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.4953, allocations: 19.98 kB / 0.7638 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005277/0.4958, allocations: 51.95 kB / 0.7638 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.4959, allocations: 64.91 kB / 0.7639 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.86e-05/0.496, allocations: 31.98 kB / 0.7639 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004385/0.4965, allocations: 443 kB / 0.7643 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4965, allocations: 0 / 0.7643 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006773/0.4971, allocations: 291.2 kB / 0.7646 GB, free: 3.43 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002895/0.5, allocations: 1.974 MB / 0.7665 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001844/0.5019, allocations: 0.9383 MB / 0.7674 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5019, allocations: 192 / 0.7674 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007663/0.5027, allocations: 0.4963 MB / 0.7679 GB, free: 208 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.5038, allocations: 292.9 kB / 0.7682 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009168/0.5129, allocations: 6.247 MB / 0.7743 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.5134, allocations: 1.015 MB / 0.7753 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007038/0.5141, allocations: 262.4 kB / 0.7756 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004415/0.5146, allocations: 359.3 kB / 0.7759 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of SimCode: time 3.7e-07/0.5146, allocations: 0 / 0.7759 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.61/5.125, allocations: 20.19 MB / 0.7956 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.09/22.21, allocations: 5.969 kB / 0.7956 GB, free: 4.09 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)