Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.00498/0.00498, allocations: 100.8 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002465/0.002465, allocations: 278.7 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00293/0.00293, allocations: 95.8 kB / 0.681 GB, free: 12 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1826, allocations: 86.98 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006377/0.1891, allocations: 4.285 MB / 0.7701 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4757/0.6648, allocations: 150.5 MB / 0.9171 GB, free: 8.105 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006551/0.6655, allocations: 15.94 kB / 0.9171 GB, free: 8.09 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005198/0.666, allocations: 169 kB / 0.9173 GB, free: 7.926 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.6675, allocations: 0.4996 MB / 0.9178 GB, free: 7.441 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.6693, allocations: 0.8221 MB / 0.9186 GB, free: 6.645 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001407/0.6707, allocations: 1.278 MB / 0.9198 GB, free: 5.359 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000852/0.6716, allocations: 0.607 MB / 0.9204 GB, free: 4.73 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005947/0.6722, allocations: 470.4 kB / 0.9208 GB, free: 4.27 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005525/0.6727, allocations: 485.8 kB / 0.9213 GB, free: 3.793 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.6729, allocations: 112 kB / 0.9214 GB, free: 3.684 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009086/0.6738, allocations: 487.6 kB / 0.9219 GB, free: 3.207 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002728/0.6741, allocations: 283.1 kB / 0.9222 GB, free: 2.93 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004903/0.6746, allocations: 0.5401 MB / 0.9227 GB, free: 2.387 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.6765, allocations: 1.585 MB / 0.9242 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6765, allocations: 0.75 kB / 0.9242 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6765, allocations: 0 / 0.9242 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.178e-05/0.6766, allocations: 4 kB / 0.9242 GB, free: 0.8008 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002495/0.6791, allocations: 1.448 MB / 0.9256 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.6791, allocations: 12.03 kB / 0.9257 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001563/0.6793, allocations: 131.3 kB / 0.9258 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008977/0.6802, allocations: 192.1 kB / 0.926 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.6814, allocations: 0.7547 MB / 0.9267 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.359e-05/0.6815, allocations: 63.95 kB / 0.9268 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.6816, allocations: 80 kB / 0.9268 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.6831, allocations: 0.9027 MB / 0.9277 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.6831, allocations: 4 kB / 0.9277 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.109e-05/0.6832, allocations: 36 kB / 0.9278 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.6832, allocations: 20.5 kB / 0.9278 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.6849, allocations: 1.093 MB / 0.9288 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003735/0.6887, allocations: 2.463 MB / 0.9313 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.6902, allocations: 0.8541 MB / 0.9321 GB, free: 8.531 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005125/0.6907, allocations: 298.7 kB / 0.9324 GB, free: 8.238 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.446e-05/0.6908, allocations: 32.61 kB / 0.9324 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008254/0.6917, allocations: 492.7 kB / 0.9329 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=79): time 2.345e-06/0.6917, allocations: 0 / 0.9329 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of matching and sorting (n=79): time 0.003064/0.6947, allocations: 1.179 MB / 0.934 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.6949, allocations: 188.6 kB / 0.9342 GB, free: 6.273 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007787/0.6957, allocations: 0.6292 MB / 0.9348 GB, free: 5.641 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.03e-05/0.6957, allocations: 49.45 kB / 0.9349 GB, free: 5.59 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003177/0.6961, allocations: 393 kB / 0.9352 GB, free: 5.199 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.6963, allocations: 269.7 kB / 0.9355 GB, free: 4.934 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.6965, allocations: 142.6 kB / 0.9356 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.6967, allocations: 386.7 kB / 0.936 GB, free: 4.402 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000479/0.6972, allocations: 241.9 kB / 0.9362 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006095/0.6978, allocations: 354.5 kB / 0.9366 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.6989, allocations: 0.5721 MB / 0.9371 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6989, allocations: 4 kB / 0.9371 GB, free: 3.207 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001863/0.7008, allocations: 0.7867 MB / 0.9379 GB, free: 2.41 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.7008, allocations: 4 kB / 0.9379 GB, free: 2.406 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.7008, allocations: 0 / 0.9379 GB, free: 2.406 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005999/0.7014, allocations: 88.8 kB / 0.938 GB, free: 2.316 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/0.7021, allocations: 149.2 kB / 0.9381 GB, free: 2.172 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.7042, allocations: 1.626 MB / 0.9397 GB, free: 412 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006432/0.7049, allocations: 88.77 kB / 0.9398 GB, free: 324 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/0.7049, allocations: 32.05 kB / 0.9398 GB, free: 292 kB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.000413/0.7053, allocations: 265.6 kB / 0.9401 GB, free: 16 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.7055, allocations: 87.66 kB / 0.9402 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/0.7079, allocations: 1.054 MB / 0.9412 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.7079, allocations: 8 kB / 0.9412 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.7079, allocations: 3.984 kB / 0.9412 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/0.7079, allocations: 3.984 kB / 0.9412 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003203/0.7111, allocations: 1.915 MB / 0.9431 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.7112, allocations: 0 / 0.9431 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005537/0.7117, allocations: 143.8 kB / 0.9432 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004339/0.7122, allocations: 64.8 kB / 0.9433 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.612e-05/0.7122, allocations: 35.91 kB / 0.9433 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/0.7142, allocations: 1.647 MB / 0.9449 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.7142, allocations: 3.938 kB / 0.9449 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.7163, allocations: 0.9868 MB / 0.9459 GB, free: 9.832 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/0.7167, allocations: 284.1 kB / 0.9462 GB, free: 9.535 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.7168, allocations: 24 kB / 0.9462 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006487/0.7174, allocations: 66.8 kB / 0.9463 GB, free: 9.449 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.7176, allocations: 64.91 kB / 0.9463 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.619e-05/0.7177, allocations: 35.98 kB / 0.9464 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005853/0.7183, allocations: 455 kB / 0.9468 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7183, allocations: 4 kB / 0.9468 GB, free: 8.906 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009276/0.7192, allocations: 307.2 kB / 0.9471 GB, free: 8.605 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003995/0.7232, allocations: 2.037 MB / 0.9491 GB, free: 6.73 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001638/0.7249, allocations: 0.7895 MB / 0.9498 GB, free: 5.93 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7249, allocations: 3.984 kB / 0.9498 GB, free: 5.926 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009219/0.7258, allocations: 0.5121 MB / 0.9503 GB, free: 5.398 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.7271, allocations: 278.3 kB / 0.9506 GB, free: 5.156 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.738, allocations: 6.257 MB / 0.9567 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006593/0.7387, allocations: 1.019 MB / 0.9577 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007807/0.7395, allocations: 262.5 kB / 0.958 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005277/0.74, allocations: 371.3 kB / 0.9583 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of SimCode: time 8.92e-07/0.74, allocations: 4 kB / 0.9583 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5966/1.337, allocations: 20.93 MB / 0.9788 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/15.49, allocations: 13.45 kB / 0.9788 GB, free: 8.543 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)