Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.907/0.907, allocations: 127.4 MB / 134.9 MB, free: 3.715 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001377/0.001377, allocations: 169 kB / 164.7 MB, free: 6.516 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.785/1.785, allocations: 205.2 MB / 399.5 MB, free: 5.922 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009711/0.0009712, allocations: 86.42 kB / 476.7 MB, free: 8.656 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.239e-05/2.24e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.186, allocations: 76.76 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.137/6.323, allocations: 2.147 GB / 2.768 GB, free: 84.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/6.324, allocations: 95.94 kB / 2.768 GB, free: 84.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1106/6.434, allocations: 53.1 MB / 2.82 GB, free: 30.71 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.505e-06/6.434, allocations: 0 / 2.82 GB, free: 30.71 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.782e-05/6.434, allocations: 20 kB / 2.82 GB, free: 30.69 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.001732/6.436, allocations: 1.001 MB / 2.821 GB, free: 29.64 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/6.436, allocations: 19.97 kB / 2.821 GB, free: 29.62 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/6.438, allocations: 298.4 kB / 2.821 GB, free: 29.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006926/6.439, allocations: 0.5258 MB / 2.822 GB, free: 28.76 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/6.439, allocations: 27.95 kB / 2.822 GB, free: 28.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.372e-05/6.439, allocations: 47.94 kB / 2.822 GB, free: 28.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001223/6.44, allocations: 0.9874 MB / 2.823 GB, free: 27.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009842/6.441, allocations: 0.7004 MB / 2.824 GB, free: 26.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/6.441, allocations: 0 / 2.824 GB, free: 26.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-05/6.441, allocations: 4 kB / 2.824 GB, free: 26.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/6.441, allocations: 16 kB / 2.824 GB, free: 26.95 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00335/6.445, allocations: 2.213 MB / 2.826 GB, free: 24.68 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009038/6.446, allocations: 0.7404 MB / 2.827 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/6.446, allocations: 254.5 kB / 2.827 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005601/6.446, allocations: 466.1 kB / 2.827 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005379/6.447, allocations: 408.4 kB / 2.828 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=72): time 2.404e-06/6.447, allocations: 0 / 2.828 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=72): time 0.004425/6.451, allocations: 1.028 MB / 2.829 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/6.451, allocations: 163 kB / 2.829 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005451/6.452, allocations: 449.3 kB / 2.829 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.676e-05/6.452, allocations: 25.7 kB / 2.829 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/6.452, allocations: 336.4 kB / 2.83 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/6.453, allocations: 228.5 kB / 2.83 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/6.453, allocations: 4 kB / 2.83 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001093/6.453, allocations: 366.7 kB / 2.83 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/6.453, allocations: 197.5 kB / 2.83 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/6.453, allocations: 268.9 kB / 2.831 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003314/6.457, allocations: 0.6015 MB / 2.831 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/6.457, allocations: 0 / 2.831 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004345/6.461, allocations: 1.019 MB / 2.832 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/6.461, allocations: 4 kB / 2.832 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/6.461, allocations: 4 kB / 2.832 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000594/6.462, allocations: 84.83 kB / 2.832 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007042/6.462, allocations: 155.8 kB / 2.832 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/6.464, allocations: 1.453 MB / 2.834 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005978/6.465, allocations: 71.53 kB / 2.834 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.659e-05/6.465, allocations: 23.98 kB / 2.834 GB, free: 16.02 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001616/6.465, allocations: 117.5 kB / 2.834 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004233/6.469, allocations: 1.027 MB / 2.835 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.232e-05/6.469, allocations: 71.38 kB / 2.835 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004882/6.474, allocations: 1.276 MB / 2.836 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/6.474, allocations: 8 kB / 2.836 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/6.474, allocations: 0 / 2.836 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/6.474, allocations: 11.92 kB / 2.836 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005484/6.48, allocations: 2.034 MB / 2.838 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/6.48, allocations: 0 / 2.838 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006809/6.48, allocations: 151.8 kB / 2.839 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004647/6.481, allocations: 96.62 kB / 2.839 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.837e-05/6.481, allocations: 15.98 kB / 2.839 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/6.482, allocations: 1.47 MB / 2.84 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/6.482, allocations: 0 / 2.84 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004333/6.487, allocations: 1.185 MB / 2.841 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000342/6.487, allocations: 275.9 kB / 2.841 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.271e-05/6.487, allocations: 0 / 2.841 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005722/6.488, allocations: 55.94 kB / 2.842 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/6.488, allocations: 60.64 kB / 2.842 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-05/6.488, allocations: 35.97 kB / 2.842 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003894/6.488, allocations: 354.9 kB / 2.842 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.7e-07/6.488, allocations: 0 / 2.842 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001075/6.489, allocations: 315 kB / 2.842 GB, free: 7.242 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006172/6.495, allocations: 2.692 MB / 2.845 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001153/6.497, allocations: 0.6472 MB / 2.846 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/6.497, allocations: 0 / 2.846 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005967/6.497, allocations: 456.6 kB / 2.846 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008846/6.498, allocations: 172.3 kB / 2.846 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003862/6.502, allocations: 1.408 MB / 2.847 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/6.503, allocations: 0.9875 MB / 2.848 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00105/6.504, allocations: 244.9 kB / 2.849 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004726/6.504, allocations: 315.3 kB / 2.849 GB, free: 288 kB / 0.6355 GB Notification: Performance of SimCode: time 1.523e-06/6.504, allocations: 0 / 2.849 GB, free: 288 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4225/6.927, allocations: 21.03 MB / 2.87 GB, free: 188.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002826/6.927, allocations: 213.4 kB / 2.87 GB, free: 188.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.761/9.688, allocations: 0 / 2.87 GB, free: 188.2 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)