Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_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.7469/0.7469, allocations: 127.3 MB / 139.8 MB, free: 15.5 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 176.8 kB / 169.7 MB, free: 1.738 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.743/1.743, allocations: 205.1 MB / 404.5 MB, free: 1.578 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.001055/0.001055, allocations: 97.25 kB / 481.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.376e-05/3.379e-05, allocations: 0 / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.166, allocations: 76.76 MB / 0.6282 GB, free: 9.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.46/5.626, allocations: 2.147 GB / 2.775 GB, free: 66.97 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/5.627, allocations: 83.95 kB / 2.775 GB, free: 66.89 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.119/5.746, allocations: 58.68 MB / 2.832 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.903e-06/5.746, allocations: 0 / 2.832 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.166e-05/5.746, allocations: 16 kB / 2.832 GB, free: 7.902 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.001631/5.747, allocations: 1.005 MB / 2.833 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/5.747, allocations: 8.031 kB / 2.833 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/5.747, allocations: 122.6 kB / 2.834 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/5.749, allocations: 302.4 kB / 2.834 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008215/5.75, allocations: 0.5336 MB / 2.834 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.283e-05/5.75, allocations: 54 kB / 2.834 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/5.75, allocations: 75.94 kB / 2.835 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/5.751, allocations: 0.798 MB / 2.835 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/5.752, allocations: 0 / 2.835 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.028e-05/5.752, allocations: 32 kB / 2.835 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/5.752, allocations: 20 kB / 2.835 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/5.753, allocations: 1.034 MB / 2.836 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003296/5.756, allocations: 2.376 MB / 2.839 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009872/5.757, allocations: 0.695 MB / 2.839 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/5.758, allocations: 283.7 kB / 2.84 GB, free: 392 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.409/6.167, allocations: 461 kB / 2.84 GB, free: 188.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001208/6.168, allocations: 428.8 kB / 2.84 GB, free: 188.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=70): time 3.957e-06/6.168, allocations: 2.812 kB / 2.84 GB, free: 188.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70): time 0.002065/6.17, allocations: 0.6782 MB / 2.841 GB, free: 188.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/6.17, allocations: 167.9 kB / 2.841 GB, free: 188.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007689/6.171, allocations: 0.4959 MB / 2.842 GB, free: 188.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/6.171, allocations: 41.52 kB / 2.842 GB, free: 188.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/6.171, allocations: 326.6 kB / 2.842 GB, free: 188.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/6.171, allocations: 232.3 kB / 2.842 GB, free: 188.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/6.171, allocations: 10.28 kB / 2.842 GB, free: 188.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001348/6.172, allocations: 366.6 kB / 2.843 GB, free: 187.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/6.172, allocations: 208.5 kB / 2.843 GB, free: 187.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004792/6.172, allocations: 287.5 kB / 2.843 GB, free: 187.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/6.173, allocations: 244.8 kB / 2.843 GB, free: 187.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/6.173, allocations: 1.031 kB / 2.843 GB, free: 187.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001624/6.175, allocations: 0.6888 MB / 2.844 GB, free: 187.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/6.175, allocations: 8.672 kB / 2.844 GB, free: 187.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/6.175, allocations: 0.6562 kB / 2.844 GB, free: 187.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006496/6.175, allocations: 83.55 kB / 2.844 GB, free: 187.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007375/6.176, allocations: 147 kB / 2.844 GB, free: 187.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/6.178, allocations: 1.527 MB / 2.846 GB, free: 186.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005895/6.178, allocations: 77.88 kB / 2.846 GB, free: 186.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.266e-05/6.179, allocations: 31.11 kB / 2.846 GB, free: 186.3 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 (72): * Single equations (assignments): 71 * 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.0001576/6.179, allocations: 142.8 kB / 2.846 GB, free: 186.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/6.179, allocations: 71.12 kB / 2.846 GB, free: 186.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/6.181, allocations: 0.9338 MB / 2.847 GB, free: 186.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/6.181, allocations: 12.33 kB / 2.847 GB, free: 186.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/6.181, allocations: 0.7031 kB / 2.847 GB, free: 186.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/6.181, allocations: 3.703 kB / 2.847 GB, free: 186.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/6.182, allocations: 0.8266 MB / 2.848 GB, free: 185.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/6.182, allocations: 0 / 2.848 GB, free: 185.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006879/6.183, allocations: 155.4 kB / 2.848 GB, free: 185.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005352/6.183, allocations: 84.72 kB / 2.848 GB, free: 185.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.347e-05/6.183, allocations: 25.09 kB / 2.848 GB, free: 185.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/6.185, allocations: 1.548 MB / 2.85 GB, free: 184.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/6.185, allocations: 2.094 kB / 2.85 GB, free: 184.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/6.187, allocations: 0.7797 MB / 2.85 GB, free: 184.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003601/6.187, allocations: 276 kB / 2.851 GB, free: 184.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-05/6.187, allocations: 19.47 kB / 2.851 GB, free: 184.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006057/6.188, allocations: 64.7 kB / 2.851 GB, free: 184.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/6.188, allocations: 56.33 kB / 2.851 GB, free: 184.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.767e-05/6.188, allocations: 35.61 kB / 2.851 GB, free: 184.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005502/6.188, allocations: 410.6 kB / 2.851 GB, free: 184.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/6.188, allocations: 0.5469 kB / 2.851 GB, free: 184.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001155/6.19, allocations: 337.8 kB / 2.852 GB, free: 184.2 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.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * 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.003559/6.193, allocations: 2.213 MB / 2.854 GB, free: 183.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001375/6.195, allocations: 0.6907 MB / 2.854 GB, free: 183.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/6.195, allocations: 1.469 kB / 2.854 GB, free: 183.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007701/6.195, allocations: 464.3 kB / 2.855 GB, free: 183.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008779/6.196, allocations: 197.9 kB / 2.855 GB, free: 183.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00373/6.2, allocations: 1.454 MB / 2.856 GB, free: 182.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/6.201, allocations: 0.9857 MB / 2.857 GB, free: 182.1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009676/6.202, allocations: 240.3 kB / 2.858 GB, free: 182.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004991/6.202, allocations: 308.8 kB / 2.858 GB, free: 182.1 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/6.202, allocations: 0 / 2.858 GB, free: 182.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05974/6.262, allocations: 28.57 MB / 2.886 GB, free: 180.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/6.262, allocations: 236 kB / 2.886 GB, free: 180 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.046/9.308, allocations: 0 / 2.886 GB, free: 180 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)