Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5101/0.5101, allocations: 90.91 MB / 99.34 MB, free: 2.145 MB / 74.73 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 221.5 MB / 343.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 99.27 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.698e-05/1.7e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.162, allocations: 72.31 MB / 0.5536 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.92/5.083, allocations: 1.685 GB / 2.239 GB, free: 180.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/5.083, allocations: 85.67 kB / 2.239 GB, free: 180.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.2024/5.285, allocations: 93.48 MB / 2.33 GB, free: 129 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.625e-06/5.285, allocations: 0 / 2.33 GB, free: 129 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001358/5.285, allocations: 35.94 kB / 2.33 GB, free: 129 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.00364/5.289, allocations: 1.403 MB / 2.331 GB, free: 127.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/5.289, allocations: 8.031 kB / 2.331 GB, free: 127.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/5.291, allocations: 241.9 kB / 2.332 GB, free: 127.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/5.292, allocations: 0.7715 MB / 2.332 GB, free: 126.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.067e-05/5.292, allocations: 51.98 kB / 2.332 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000226/5.292, allocations: 80 kB / 2.332 GB, free: 126.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002231/5.295, allocations: 1.383 MB / 2.334 GB, free: 125 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/5.297, allocations: 1.173 MB / 2.335 GB, free: 123.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/5.297, allocations: 4 kB / 2.335 GB, free: 123.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-05/5.297, allocations: 0 / 2.335 GB, free: 123.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/5.297, allocations: 36 kB / 2.335 GB, free: 123.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005138/5.302, allocations: 3.558 MB / 2.338 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/5.303, allocations: 0.8647 MB / 2.339 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004119/5.304, allocations: 356.6 kB / 2.34 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.876e-05/5.304, allocations: 45.33 kB / 2.34 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006657/5.304, allocations: 0.5265 MB / 2.34 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=104): time 2.975e-06/5.304, allocations: 0 / 2.34 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=104): time 0.001815/5.306, allocations: 0.9145 MB / 2.341 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/5.306, allocations: 244.6 kB / 2.341 GB, free: 117 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006575/5.307, allocations: 0.5818 MB / 2.342 GB, free: 116.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.156e-05/5.307, allocations: 29.7 kB / 2.342 GB, free: 116.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/5.307, allocations: 0.5659 MB / 2.342 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/5.307, allocations: 327 kB / 2.343 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/5.308, allocations: 0 / 2.343 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001094/5.308, allocations: 394.7 kB / 2.343 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/5.308, allocations: 294.6 kB / 2.343 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004473/5.309, allocations: 424.3 kB / 2.344 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006162/5.309, allocations: 378.3 kB / 2.344 GB, free: 114 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/5.309, allocations: 0 / 2.344 GB, free: 114 MB / 0.6042 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00192/5.311, allocations: 0.9537 MB / 2.345 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/5.311, allocations: 5.25 kB / 2.345 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/5.311, allocations: 0 / 2.345 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005671/5.312, allocations: 88.83 kB / 2.345 GB, free: 113 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008471/5.313, allocations: 207.7 kB / 2.345 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/5.314, allocations: 1.477 MB / 2.347 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007706/5.315, allocations: 75.28 kB / 2.347 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.502e-05/5.315, allocations: 44.03 kB / 2.347 GB, free: 111 MB / 0.6042 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.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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.0002013/5.315, allocations: 124.9 kB / 2.347 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001578/5.317, allocations: 0.9145 MB / 2.348 GB, free: 110 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/5.317, allocations: 90.88 kB / 2.348 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/5.319, allocations: 1.3 MB / 2.349 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/5.319, allocations: 12 kB / 2.349 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/5.319, allocations: 0 / 2.349 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/5.319, allocations: 7.969 kB / 2.349 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/5.323, allocations: 2.327 MB / 2.352 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/5.323, allocations: 0 / 2.352 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007343/5.323, allocations: 195.7 kB / 2.352 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004603/5.324, allocations: 88.73 kB / 2.352 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.543e-05/5.324, allocations: 19.97 kB / 2.352 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/5.325, allocations: 1.496 MB / 2.353 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/5.325, allocations: 4.031 kB / 2.353 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/5.327, allocations: 1.067 MB / 2.354 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004267/5.327, allocations: 347.3 kB / 2.355 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/5.327, allocations: 4 kB / 2.355 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006461/5.328, allocations: 47.95 kB / 2.355 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/5.328, allocations: 81.14 kB / 2.355 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.455e-05/5.328, allocations: 39.97 kB / 2.355 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005575/5.329, allocations: 0.4913 MB / 2.355 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/5.329, allocations: 0 / 2.355 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001349/5.33, allocations: 438.4 kB / 2.356 GB, free: 101.7 MB / 0.6042 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * 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.003538/5.334, allocations: 2.597 MB / 2.358 GB, free: 99.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001485/5.335, allocations: 0.9021 MB / 2.359 GB, free: 98.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/5.335, allocations: 0 / 2.359 GB, free: 98.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007142/5.336, allocations: 0.5612 MB / 2.36 GB, free: 97.72 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/5.337, allocations: 229.1 kB / 2.36 GB, free: 97.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004761/5.342, allocations: 2.014 MB / 2.362 GB, free: 95.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006642/5.343, allocations: 1.2 MB / 2.363 GB, free: 94.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009942/5.344, allocations: 287.7 kB / 2.363 GB, free: 93.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006626/5.344, allocations: 0.5421 MB / 2.364 GB, free: 93.39 MB / 0.6042 GB Notification: Performance of SimCode: time 1.754e-06/5.344, allocations: 0 / 2.364 GB, free: 93.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05688/5.401, allocations: 28.76 MB / 2.392 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/5.402, allocations: 189.2 kB / 2.392 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.685/8.086, allocations: 4.031 kB / 2.392 GB, free: 64.53 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)