Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.001276/0.001275, allocations: 104.8 kB / 16.4 MB, free: 6.512 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.001339/0.001339, allocations: 195.9 kB / 17.34 MB, free: 5.738 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.201/1.201, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6568/0.6568, allocations: 115.3 MB / 406.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 63.14 kB / 0.5572 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1176, allocations: 76.18 MB / 0.6316 GB, free: 4.949 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005725/0.1234, allocations: 4.805 MB / 0.6362 GB, free: 116 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.4468/0.5702, allocations: 150.6 MB / 0.7833 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006691/0.5709, allocations: 19.19 kB / 0.7833 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004796/0.5715, allocations: 190.9 kB / 0.7835 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.5728, allocations: 0.5411 MB / 0.784 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.5742, allocations: 0.8358 MB / 0.7849 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009661/0.5752, allocations: 1.386 MB / 0.7862 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006802/0.5759, allocations: 0.5907 MB / 0.7868 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004483/0.5764, allocations: 489.3 kB / 0.7873 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004462/0.5768, allocations: 0.5017 MB / 0.7877 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.577, allocations: 117.9 kB / 0.7879 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006751/0.5776, allocations: 487.5 kB / 0.7883 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002243/0.5779, allocations: 297.5 kB / 0.7886 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003912/0.5783, allocations: 0.5598 MB / 0.7891 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.5796, allocations: 1.642 MB / 0.7908 GB, free: 13 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5796, allocations: 0 / 0.7908 GB, free: 13 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5796, allocations: 0 / 0.7908 GB, free: 13 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.5797, allocations: 0 / 0.7908 GB, free: 13 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002164/0.5818, allocations: 1.432 MB / 0.7922 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.5819, allocations: 10.31 kB / 0.7922 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/0.582, allocations: 132.1 kB / 0.7923 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008206/0.5828, allocations: 180.9 kB / 0.7925 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009293/0.5838, allocations: 0.762 MB / 0.7932 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/0.5838, allocations: 67.25 kB / 0.7933 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.425e-05/0.5839, allocations: 76.84 kB / 0.7933 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.5852, allocations: 0.9214 MB / 0.7942 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.5852, allocations: 1.875 kB / 0.7942 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.752e-05/0.5853, allocations: 37.69 kB / 0.7943 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.5853, allocations: 23.03 kB / 0.7943 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.5867, allocations: 1.107 MB / 0.7954 GB, free: 11.6 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003247/0.59, allocations: 2.722 MB / 0.798 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.5912, allocations: 0.8857 MB / 0.7989 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004466/0.5917, allocations: 307.2 kB / 0.7992 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.877e-05/0.5918, allocations: 31.33 kB / 0.7992 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007061/0.5925, allocations: 491.1 kB / 0.7997 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 2.034e-06/0.5925, allocations: 0 / 0.7997 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.002684/0.5952, allocations: 1.196 MB / 0.8009 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.222e-05/0.5953, allocations: 193.6 kB / 0.801 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000624/0.5959, allocations: 0.6223 MB / 0.8017 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.619e-05/0.596, allocations: 40.33 kB / 0.8017 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.5962, allocations: 401.4 kB / 0.8021 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.5964, allocations: 256.9 kB / 0.8023 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.5966, allocations: 143 kB / 0.8025 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5967, allocations: 387.2 kB / 0.8028 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004054/0.5971, allocations: 250.5 kB / 0.8031 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004992/0.5976, allocations: 359.6 kB / 0.8034 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008641/0.5985, allocations: 0.5844 MB / 0.804 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5985, allocations: 2.094 kB / 0.804 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00165/0.6002, allocations: 0.7987 MB / 0.8048 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.6002, allocations: 5.344 kB / 0.8048 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.6002, allocations: 0 / 0.8048 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005752/0.6008, allocations: 85.06 kB / 0.8048 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005627/0.6014, allocations: 156.6 kB / 0.805 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.6033, allocations: 1.635 MB / 0.8066 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006276/0.604, allocations: 88 kB / 0.8067 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/0.604, allocations: 32.94 kB / 0.8067 GB, free: 6.473 MB / 0.5919 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.0003635/0.6044, allocations: 270.1 kB / 0.807 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.6046, allocations: 83.38 kB / 0.807 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.6067, allocations: 1.062 MB / 0.8081 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.6067, allocations: 14.34 kB / 0.8081 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6067, allocations: 3.938 kB / 0.8081 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.6067, allocations: 3.984 kB / 0.8081 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00293/0.6096, allocations: 1.965 MB / 0.81 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.6097, allocations: 0 / 0.81 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/0.6102, allocations: 139.9 kB / 0.8102 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004275/0.6106, allocations: 74.59 kB / 0.8102 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/0.6107, allocations: 27.52 kB / 0.8103 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/0.6124, allocations: 1.673 MB / 0.8119 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.6124, allocations: 0 / 0.8119 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.6143, allocations: 1 MB / 0.8129 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000372/0.6147, allocations: 267.6 kB / 0.8131 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.6148, allocations: 20.91 kB / 0.8131 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006359/0.6154, allocations: 68.55 kB / 0.8132 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.6156, allocations: 63.47 kB / 0.8133 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.384e-05/0.6157, allocations: 42.75 kB / 0.8133 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005226/0.6162, allocations: 456.3 kB / 0.8137 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6162, allocations: 0 / 0.8137 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008499/0.6171, allocations: 315.2 kB / 0.814 GB, free: 1.895 MB / 0.5919 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.003215/0.6203, allocations: 2.043 MB / 0.816 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001442/0.6217, allocations: 0.8004 MB / 0.8168 GB, free: 208 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6218, allocations: 2.094 kB / 0.8168 GB, free: 208 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008096/0.6226, allocations: 0.5166 MB / 0.8173 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.6237, allocations: 299.3 kB / 0.8176 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008925/0.6326, allocations: 6.181 MB / 0.8236 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005353/0.6332, allocations: 1.019 MB / 0.8246 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006894/0.6339, allocations: 265.7 kB / 0.8249 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004802/0.6344, allocations: 369.6 kB / 0.8252 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.6344, allocations: 0 / 0.8252 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04671/0.6811, allocations: 21.97 MB / 0.8467 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.84, allocations: 10.81 kB / 0.8467 GB, free: 6.453 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)