Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.IncidenceAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="BuildingSystems_BuildingSystems_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.007487/0.007493, allocations: 104.6 kB / 15.74 MB, free: 5.984 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.001708/0.001708, allocations: 197.5 kB / 16.67 MB, free: 5.91 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.241/1.241, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002135/0.002135, allocations: 295.3 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9046/0.9046, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 95.86 kB / 0.681 GB, free: 7.484 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4163, allocations: 86.98 MB / 0.7659 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005955/0.4223, allocations: 4.469 MB / 0.7703 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1526/0.5749, allocations: 150.8 MB / 0.9175 GB, free: 8.047 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009256/0.5759, allocations: 19.94 kB / 0.9175 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008494/0.5767, allocations: 178.3 kB / 0.9177 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002537/0.5794, allocations: 0.531 MB / 0.9182 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002576/0.582, allocations: 0.839 MB / 0.919 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00207/0.5841, allocations: 1.371 MB / 0.9203 GB, free: 5.109 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.5852, allocations: 0.6373 MB / 0.921 GB, free: 4.449 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009088/0.5861, allocations: 0.4983 MB / 0.9215 GB, free: 3.949 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009162/0.5871, allocations: 0.5211 MB / 0.922 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003662/0.5874, allocations: 123.9 kB / 0.9221 GB, free: 3.305 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.5886, allocations: 491.6 kB / 0.9225 GB, free: 2.824 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004627/0.5891, allocations: 311 kB / 0.9228 GB, free: 2.52 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007978/0.5899, allocations: 0.5635 MB / 0.9234 GB, free: 1.953 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00232/0.5922, allocations: 1.663 MB / 0.925 GB, free: 292 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.5922, allocations: 4 kB / 0.925 GB, free: 288 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5923, allocations: 0 / 0.925 GB, free: 288 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.86e-05/0.5923, allocations: 0 / 0.925 GB, free: 288 kB / 0.6856 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.003297/0.5956, allocations: 1.46 MB / 0.9264 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.5957, allocations: 12.03 kB / 0.9265 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002637/0.596, allocations: 139.7 kB / 0.9266 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.597, allocations: 195.3 kB / 0.9268 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/0.5985, allocations: 0.7856 MB / 0.9275 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-05/0.5986, allocations: 66 kB / 0.9276 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.5987, allocations: 84 kB / 0.9277 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.6006, allocations: 0.9729 MB / 0.9286 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.6006, allocations: 3.938 kB / 0.9286 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.6007, allocations: 36 kB / 0.9287 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.6007, allocations: 24 kB / 0.9287 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/0.6026, allocations: 1.159 MB / 0.9298 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004294/0.6069, allocations: 2.652 MB / 0.9324 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.6084, allocations: 0.8394 MB / 0.9332 GB, free: 7.641 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005439/0.609, allocations: 326.6 kB / 0.9336 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.878e-05/0.6091, allocations: 36.67 kB / 0.9336 GB, free: 7.281 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008609/0.6099, allocations: 0.5315 MB / 0.9341 GB, free: 6.73 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=88): time 3.166e-06/0.61, allocations: 0 / 0.9341 GB, free: 6.73 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88): time 0.003178/0.6131, allocations: 1.278 MB / 0.9354 GB, free: 5.43 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.537e-05/0.6133, allocations: 196.8 kB / 0.9355 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008028/0.6141, allocations: 0.6489 MB / 0.9362 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.185e-05/0.6141, allocations: 49.62 kB / 0.9362 GB, free: 4.48 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/0.6144, allocations: 404.5 kB / 0.9366 GB, free: 4.078 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/0.6147, allocations: 291.8 kB / 0.9369 GB, free: 3.789 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.6149, allocations: 158.5 kB / 0.937 GB, free: 3.629 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.6151, allocations: 398.7 kB / 0.9374 GB, free: 3.23 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005137/0.6156, allocations: 269.9 kB / 0.9377 GB, free: 2.969 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005907/0.6162, allocations: 390.5 kB / 0.9381 GB, free: 2.559 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.6173, allocations: 0.6281 MB / 0.9387 GB, free: 1.922 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.6173, allocations: 0 / 0.9387 GB, free: 1.922 MB / 0.7012 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001976/0.6193, allocations: 0.8721 MB / 0.9395 GB, free: 1.035 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.6193, allocations: 8 kB / 0.9395 GB, free: 1.027 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6193, allocations: 4.094 kB / 0.9395 GB, free: 1.023 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006018/0.6199, allocations: 80.77 kB / 0.9396 GB, free: 0.9414 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006939/0.6206, allocations: 167.8 kB / 0.9398 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.6228, allocations: 1.623 MB / 0.9413 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007347/0.6235, allocations: 109.2 kB / 0.9415 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-05/0.6236, allocations: 40.05 kB / 0.9415 GB, free: 14.87 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,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.0004257/0.624, allocations: 264.1 kB / 0.9417 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.6242, allocations: 86.97 kB / 0.9418 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/0.6267, allocations: 1.171 MB / 0.943 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.425e-06/0.6268, allocations: 8 kB / 0.943 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6268, allocations: 4 kB / 0.943 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.6268, allocations: 3.984 kB / 0.943 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.6279, allocations: 0.9424 MB / 0.9439 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.6279, allocations: 0 / 0.9439 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006148/0.6285, allocations: 159.8 kB / 0.9441 GB, free: 12.17 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004433/0.629, allocations: 80.66 kB / 0.9441 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.389e-05/0.6291, allocations: 23.98 kB / 0.9442 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/0.6309, allocations: 1.654 MB / 0.9458 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6309, allocations: 0 / 0.9458 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.6329, allocations: 0.9981 MB / 0.9467 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003672/0.6333, allocations: 283.7 kB / 0.947 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.6334, allocations: 27.84 kB / 0.947 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006328/0.6341, allocations: 72.06 kB / 0.9471 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.6342, allocations: 76.88 kB / 0.9472 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-05/0.6343, allocations: 39.97 kB / 0.9472 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005712/0.6349, allocations: 487 kB / 0.9477 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6349, allocations: 0 / 0.9477 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007798/0.6357, allocations: 319.3 kB / 0.948 GB, free: 7.949 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,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.003417/0.6391, allocations: 2.047 MB / 0.95 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001667/0.6408, allocations: 0.8626 MB / 0.9508 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.6408, allocations: 0 / 0.9508 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009269/0.6417, allocations: 0.5392 MB / 0.9514 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.6428, allocations: 302.2 kB / 0.9516 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.34/0.9828, allocations: 6.587 MB / 0.9581 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006896/0.9835, allocations: 1.042 MB / 0.9591 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009048/0.9844, allocations: 276.1 kB / 0.9594 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005198/0.985, allocations: 407.2 kB / 0.9598 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of SimCode: time 7.22e-07/0.985, allocations: 3.812 kB / 0.9598 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04582/1.031, allocations: 22.81 MB / 0.982 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/13.27, allocations: 9.5 kB / 0.982 GB, free: 170.6 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)