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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.344 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9806/0.9806, allocations: 175.7 MB / 480.1 MB, free: 2.82 MB / 366.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 71.02 kB / 0.6677 GB, free: 11.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1555, allocations: 94.53 MB / 0.7601 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006523/0.162, allocations: 5.031 MB / 0.765 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4948/0.6568, allocations: 151.4 MB / 0.9128 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007847/0.6576, allocations: 16.19 kB / 0.9128 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005748/0.6582, allocations: 200.2 kB / 0.913 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.6599, allocations: 0.5817 MB / 0.9136 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.6618, allocations: 0.8853 MB / 0.9144 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001387/0.6632, allocations: 1.445 MB / 0.9158 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006682/0.6638, allocations: 422.3 kB / 0.9162 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006334/0.6645, allocations: 0.5062 MB / 0.9167 GB, free: 264 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007196/0.6652, allocations: 0.5386 MB / 0.9173 GB, free: 15.88 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.6654, allocations: 123.8 kB / 0.9174 GB, free: 15.87 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.6664, allocations: 494.3 kB / 0.9179 GB, free: 15.69 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003075/0.6667, allocations: 310.2 kB / 0.9182 GB, free: 15.44 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005369/0.6672, allocations: 0.5784 MB / 0.9187 GB, free: 15.02 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.6691, allocations: 1.693 MB / 0.9204 GB, free: 13.8 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.6691, allocations: 2.875 kB / 0.9204 GB, free: 13.8 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6691, allocations: 0 / 0.9204 GB, free: 13.8 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.6691, allocations: 0 / 0.9204 GB, free: 13.8 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.00263/0.6717, allocations: 1.528 MB / 0.9219 GB, free: 12.59 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.6718, allocations: 10.59 kB / 0.9219 GB, free: 12.59 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001747/0.672, allocations: 138.6 kB / 0.922 GB, free: 12.48 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008888/0.6728, allocations: 194.7 kB / 0.9222 GB, free: 12.38 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.6739, allocations: 0.7941 MB / 0.923 GB, free: 11.73 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.406e-05/0.674, allocations: 70.22 kB / 0.923 GB, free: 11.7 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.6741, allocations: 88.08 kB / 0.9231 GB, free: 11.66 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.6756, allocations: 0.9592 MB / 0.9241 GB, free: 11.05 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.6756, allocations: 2.594 kB / 0.9241 GB, free: 11.05 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.665e-05/0.6757, allocations: 39.75 kB / 0.9241 GB, free: 11.02 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.6757, allocations: 21.53 kB / 0.9241 GB, free: 11.02 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.6774, allocations: 1.16 MB / 0.9253 GB, free: 10.46 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003955/0.6813, allocations: 2.93 MB / 0.9281 GB, free: 8.098 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.6827, allocations: 0.7903 MB / 0.9289 GB, free: 7.699 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000499/0.6832, allocations: 292.8 kB / 0.9292 GB, free: 7.547 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.31e-05/0.6833, allocations: 35.8 kB / 0.9292 GB, free: 7.527 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000834/0.6841, allocations: 0.5329 MB / 0.9297 GB, free: 7.188 MB / 0.67 GB Notification: Performance of pre-optimization done (n=88): time 2.295e-06/0.6841, allocations: 0 / 0.9297 GB, free: 7.188 MB / 0.67 GB Notification: Performance of matching and sorting (n=88): time 0.003091/0.6872, allocations: 1.294 MB / 0.931 GB, free: 6.488 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.6873, allocations: 198.7 kB / 0.9312 GB, free: 6.262 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007189/0.688, allocations: 0.6483 MB / 0.9318 GB, free: 5.883 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.799e-05/0.6881, allocations: 42.77 kB / 0.9318 GB, free: 5.84 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/0.6884, allocations: 419.2 kB / 0.9322 GB, free: 5.473 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.6886, allocations: 301.1 kB / 0.9325 GB, free: 5.211 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.6889, allocations: 159 kB / 0.9327 GB, free: 5.117 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.689, allocations: 389 kB / 0.9331 GB, free: 4.746 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000492/0.6895, allocations: 278.3 kB / 0.9333 GB, free: 4.605 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006079/0.6901, allocations: 384.1 kB / 0.9337 GB, free: 4.367 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.6912, allocations: 0.6321 MB / 0.9343 GB, free: 4.027 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6912, allocations: 0 / 0.9343 GB, free: 4.027 MB / 0.67 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001795/0.693, allocations: 0.8764 MB / 0.9352 GB, free: 3.582 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.693, allocations: 8.656 kB / 0.9352 GB, free: 3.578 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.693, allocations: 3 kB / 0.9352 GB, free: 3.578 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005416/0.6936, allocations: 86.58 kB / 0.9353 GB, free: 3.535 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006392/0.6942, allocations: 171.5 kB / 0.9354 GB, free: 3.488 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.6961, allocations: 1.627 MB / 0.937 GB, free: 1.887 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006649/0.6968, allocations: 108.7 kB / 0.9371 GB, free: 1.812 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.777e-05/0.6969, allocations: 27.86 kB / 0.9371 GB, free: 1.805 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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.0003854/0.6973, allocations: 277.6 kB / 0.9374 GB, free: 1.586 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.6974, allocations: 98.61 kB / 0.9375 GB, free: 1.531 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/0.6997, allocations: 1.16 MB / 0.9386 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.6997, allocations: 14.03 kB / 0.9386 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.6997, allocations: 2.281 kB / 0.9386 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.6998, allocations: 3.984 kB / 0.9386 GB, free: 0.8789 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009984/0.7008, allocations: 0.9435 MB / 0.9396 GB, free: 168 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.7008, allocations: 0 / 0.9396 GB, free: 168 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005646/0.7013, allocations: 155 kB / 0.9397 GB, free: 132 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004058/0.7017, allocations: 78.28 kB / 0.9398 GB, free: 88 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-05/0.7018, allocations: 27.77 kB / 0.9398 GB, free: 68 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.7036, allocations: 1.659 MB / 0.9414 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.7036, allocations: 0 / 0.9414 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.7054, allocations: 0.9974 MB / 0.9424 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003527/0.7058, allocations: 290.2 kB / 0.9427 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.7059, allocations: 24.28 kB / 0.9427 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006302/0.7065, allocations: 74.8 kB / 0.9428 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.7066, allocations: 76.23 kB / 0.9429 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-05/0.7067, allocations: 41.41 kB / 0.9429 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000513/0.7072, allocations: 481 kB / 0.9434 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7072, allocations: 0 / 0.9434 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007524/0.708, allocations: 334 kB / 0.9437 GB, free: 13.11 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003935/0.7119, allocations: 2.071 MB / 0.9457 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001684/0.7136, allocations: 0.8235 MB / 0.9465 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7136, allocations: 4.062 kB / 0.9465 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009172/0.7145, allocations: 0.5158 MB / 0.947 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.7157, allocations: 303.9 kB / 0.9473 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.7259, allocations: 6.538 MB / 0.9537 GB, free: 2.863 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006377/0.7266, allocations: 1.044 MB / 0.9547 GB, free: 1.789 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008042/0.7274, allocations: 267.1 kB / 0.955 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005691/0.7279, allocations: 407.2 kB / 0.9553 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of SimCode: time 6.72e-07/0.7279, allocations: 0 / 0.9553 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0572/0.7851, allocations: 22.88 MB / 0.9777 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.44, allocations: 3.938 kB / 0.9777 GB, free: 10.45 MB / 0.7169 GB " [Timeout remaining time 647] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.07173886000237]