Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.004405/0.004405, allocations: 98.2 kB / 15.73 MB, free: 6.055 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.001145/0.001145, allocations: 192.9 kB / 16.67 MB, free: 5.977 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.181/1.181, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001985/0.001985, allocations: 289.1 kB / 290.8 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8592/0.8592, allocations: 169.3 MB / 0.4983 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 92.27 kB / 0.681 GB, free: 7.492 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3389, allocations: 86.98 MB / 0.7659 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.005419/0.3444, allocations: 4.614 MB / 0.7704 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.138/0.4824, allocations: 150.7 MB / 0.9176 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000636/0.4831, allocations: 19.88 kB / 0.9176 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000487/0.4836, allocations: 178.3 kB / 0.9178 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.485, allocations: 0.5518 MB / 0.9183 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.4867, allocations: 0.8758 MB / 0.9192 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001098/0.4878, allocations: 1.445 MB / 0.9206 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008197/0.4886, allocations: 0.7183 MB / 0.9213 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005106/0.4891, allocations: 0.5488 MB / 0.9218 GB, free: 3.602 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005211/0.4896, allocations: 0.5717 MB / 0.9224 GB, free: 3.027 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.4898, allocations: 136 kB / 0.9225 GB, free: 2.895 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006811/0.4905, allocations: 0.5152 MB / 0.923 GB, free: 2.379 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.4908, allocations: 338.9 kB / 0.9233 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000451/0.4912, allocations: 0.6256 MB / 0.9239 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.4928, allocations: 1.822 MB / 0.9257 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4928, allocations: 0 / 0.9257 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4928, allocations: 4 kB / 0.9257 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.4929, allocations: 0 / 0.9257 GB, free: 15.59 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002443/0.4953, allocations: 1.606 MB / 0.9273 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.4953, allocations: 8.031 kB / 0.9273 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.4955, allocations: 160.5 kB / 0.9274 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008679/0.4964, allocations: 211.9 kB / 0.9276 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.4975, allocations: 0.8251 MB / 0.9284 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.209e-05/0.4976, allocations: 74.02 kB / 0.9285 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.4977, allocations: 100 kB / 0.9286 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.4993, allocations: 1.067 MB / 0.9297 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.4993, allocations: 4 kB / 0.9297 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.008e-05/0.4994, allocations: 47.98 kB / 0.9297 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.4995, allocations: 24 kB / 0.9297 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/0.5013, allocations: 1.225 MB / 0.9309 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003943/0.5052, allocations: 2.898 MB / 0.9338 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.5067, allocations: 0.8898 MB / 0.9346 GB, free: 6.211 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00054/0.5073, allocations: 335.7 kB / 0.9349 GB, free: 5.879 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.313e-05/0.5073, allocations: 37.02 kB / 0.935 GB, free: 5.844 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00086/0.5082, allocations: 0.5552 MB / 0.9355 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=92): time 2.264e-06/0.5082, allocations: 4 kB / 0.9355 GB, free: 5.266 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92): time 0.003052/0.5113, allocations: 1.334 MB / 0.9368 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.766e-05/0.5114, allocations: 196.9 kB / 0.937 GB, free: 3.676 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007167/0.5121, allocations: 0.6881 MB / 0.9377 GB, free: 2.98 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.219e-05/0.5122, allocations: 45.7 kB / 0.9377 GB, free: 2.93 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/0.5125, allocations: 453.1 kB / 0.9382 GB, free: 2.48 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.5127, allocations: 305.4 kB / 0.9385 GB, free: 2.18 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.5129, allocations: 166.6 kB / 0.9386 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.5131, allocations: 398.7 kB / 0.939 GB, free: 1.609 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005274/0.5136, allocations: 285.9 kB / 0.9393 GB, free: 1.332 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006146/0.5142, allocations: 398.5 kB / 0.9396 GB, free: 0.9141 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.5154, allocations: 0.6633 MB / 0.9403 GB, free: 244 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.5154, allocations: 0 / 0.9403 GB, free: 244 kB / 0.7012 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001881/0.5173, allocations: 0.9154 MB / 0.9412 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.5173, allocations: 4 kB / 0.9412 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.5173, allocations: 4 kB / 0.9412 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00054/0.5179, allocations: 80.84 kB / 0.9413 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006975/0.5186, allocations: 175.7 kB / 0.9414 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/0.5204, allocations: 1.631 MB / 0.943 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006445/0.5211, allocations: 107.6 kB / 0.9431 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.98e-05/0.5211, allocations: 31.98 kB / 0.9432 GB, free: 13.14 MB / 0.7169 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,incAng.decAng.tNext,$PRE.incAng.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 (101): * Single equations (assignments): 100 * 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.0003493/0.5215, allocations: 287.3 kB / 0.9434 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.5217, allocations: 99.33 kB / 0.9435 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/0.5241, allocations: 1.23 MB / 0.9447 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.5241, allocations: 8 kB / 0.9447 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.5241, allocations: 0 / 0.9447 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.5242, allocations: 11.97 kB / 0.9448 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009618/0.5251, allocations: 1.009 MB / 0.9457 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.5251, allocations: 0 / 0.9457 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006487/0.5258, allocations: 171.8 kB / 0.9459 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004045/0.5262, allocations: 68.8 kB / 0.946 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-05/0.5263, allocations: 27.97 kB / 0.946 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/0.5279, allocations: 1.666 MB / 0.9476 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.528, allocations: 4.031 kB / 0.9476 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.5299, allocations: 1.045 MB / 0.9486 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003568/0.5303, allocations: 296.1 kB / 0.9489 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.5304, allocations: 32.03 kB / 0.949 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006539/0.5311, allocations: 71.92 kB / 0.949 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.5312, allocations: 80.88 kB / 0.9491 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.635e-05/0.5313, allocations: 39.97 kB / 0.9491 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005251/0.5318, allocations: 0.4951 MB / 0.9496 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5318, allocations: 0 / 0.9496 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007292/0.5326, allocations: 351.1 kB / 0.95 GB, free: 5.922 MB / 0.7169 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.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 (107): * Single equations (assignments): 100 * 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.003317/0.5359, allocations: 2.134 MB / 0.952 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001584/0.5375, allocations: 0.8977 MB / 0.9529 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5375, allocations: 0 / 0.9529 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009169/0.5384, allocations: 0.5743 MB / 0.9535 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.5395, allocations: 301.8 kB / 0.9538 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2739/0.8134, allocations: 6.932 MB / 0.9605 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.8139, allocations: 1.075 MB / 0.9616 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008071/0.8147, allocations: 285.3 kB / 0.9619 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005122/0.8152, allocations: 440 kB / 0.9623 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of SimCode: time 7.51e-07/0.8152, allocations: 0 / 0.9623 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04181/0.8571, allocations: 23.57 MB / 0.9853 GB, free: 167.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.5, allocations: 18.56 kB / 0.9853 GB, free: 167.4 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)