Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.001397/0.001397, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8403/0.8403, allocations: 133.5 MB / 141.6 MB, free: 2.836 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 221.5 MB / 395.5 MB, free: 10.76 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009749/0.000975, allocations: 93.67 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.101e-05/3.084e-05, allocations: 4 kB / 0.5535 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5216/0.5217, allocations: 82.31 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.705/5.227, allocations: 1.693 GB / 2.327 GB, free: 80.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/5.227, allocations: 92.69 kB / 2.327 GB, free: 80.11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1265/5.354, allocations: 57.78 MB / 2.383 GB, free: 22.06 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.715e-06/5.354, allocations: 0 / 2.383 GB, free: 22.06 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001047/5.354, allocations: 31.88 kB / 2.383 GB, free: 22.03 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002444/5.356, allocations: 1.051 MB / 2.384 GB, free: 20.93 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/5.357, allocations: 8.031 kB / 2.384 GB, free: 20.92 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/5.358, allocations: 186.5 kB / 2.384 GB, free: 20.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/5.359, allocations: 0.6036 MB / 2.385 GB, free: 20.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.625e-05/5.359, allocations: 24 kB / 2.385 GB, free: 20.06 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/5.359, allocations: 44 kB / 2.385 GB, free: 20.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00148/5.361, allocations: 0.9678 MB / 2.386 GB, free: 19.05 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/5.362, allocations: 0.6999 MB / 2.387 GB, free: 18.31 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/5.362, allocations: 0 / 2.387 GB, free: 18.31 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-05/5.362, allocations: 0 / 2.387 GB, free: 18.31 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/5.362, allocations: 23.95 kB / 2.387 GB, free: 18.29 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003913/5.366, allocations: 2.205 MB / 2.389 GB, free: 16.03 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009907/5.367, allocations: 0.7111 MB / 2.39 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/5.367, allocations: 230.5 kB / 2.39 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.316e-05/5.368, allocations: 32.52 kB / 2.39 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000541/5.368, allocations: 372.8 kB / 2.39 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 3.286e-06/5.368, allocations: 0 / 2.39 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.001552/5.37, allocations: 0.621 MB / 2.391 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.748e-05/5.37, allocations: 255.8 kB / 2.391 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007323/5.371, allocations: 494.3 kB / 2.392 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.511e-05/5.371, allocations: 29.7 kB / 2.392 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/5.371, allocations: 368.2 kB / 2.392 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/5.371, allocations: 220.6 kB / 2.392 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/5.371, allocations: 3.938 kB / 2.392 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001064/5.371, allocations: 378.8 kB / 2.392 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/5.371, allocations: 177.5 kB / 2.393 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/5.372, allocations: 283.5 kB / 2.393 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/5.372, allocations: 228.4 kB / 2.393 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/5.372, allocations: 4 kB / 2.393 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001357/5.373, allocations: 0.6174 MB / 2.394 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/5.374, allocations: 4 kB / 2.394 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/5.374, allocations: 64 / 2.394 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006235/5.374, allocations: 84.73 kB / 2.394 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/5.375, allocations: 139.8 kB / 2.394 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/5.376, allocations: 1.445 MB / 2.395 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006167/5.377, allocations: 63.59 kB / 2.395 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.211e-05/5.377, allocations: 27.98 kB / 2.395 GB, free: 8.996 MB / 0.6823 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 (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.0001848/5.377, allocations: 121 kB / 2.396 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001389/5.379, allocations: 0.6278 MB / 2.396 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/5.379, allocations: 67.16 kB / 2.396 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/5.381, allocations: 0.8596 MB / 2.397 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/5.381, allocations: 8 kB / 2.397 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/5.381, allocations: 0 / 2.397 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/5.381, allocations: 7.938 kB / 2.397 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002692/5.383, allocations: 1.664 MB / 2.399 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/5.383, allocations: 0 / 2.399 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/5.384, allocations: 135.8 kB / 2.399 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004798/5.384, allocations: 84.77 kB / 2.399 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.262e-05/5.385, allocations: 15.98 kB / 2.399 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/5.386, allocations: 1.481 MB / 2.4 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/5.386, allocations: 0 / 2.4 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/5.387, allocations: 0.8025 MB / 2.401 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004253/5.388, allocations: 267.9 kB / 2.401 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/5.388, allocations: 0 / 2.401 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005835/5.389, allocations: 55.94 kB / 2.401 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/5.389, allocations: 56.7 kB / 2.402 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.684e-05/5.389, allocations: 35.98 kB / 2.402 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005534/5.389, allocations: 398.9 kB / 2.402 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/5.389, allocations: 3.938 kB / 2.402 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001229/5.391, allocations: 319.1 kB / 2.402 GB, free: 1.777 MB / 0.6823 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 (81): * Single equations (assignments): 78 * 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.4254/5.816, allocations: 2.306 MB / 2.405 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001787/5.818, allocations: 0.6207 MB / 2.405 GB, free: 229.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/5.818, allocations: 0.6875 kB / 2.405 GB, free: 229.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007729/5.819, allocations: 433.1 kB / 2.406 GB, free: 229.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/5.82, allocations: 221.5 kB / 2.406 GB, free: 229.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004636/5.825, allocations: 1.438 MB / 2.407 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006712/5.825, allocations: 1.011 MB / 2.408 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001005/5.826, allocations: 242.9 kB / 2.408 GB, free: 228 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005102/5.827, allocations: 339.8 kB / 2.409 GB, free: 228 MB / 0.6823 GB Notification: Performance of SimCode: time 9.82e-07/5.827, allocations: 0 / 2.409 GB, free: 228 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06089/5.888, allocations: 22.61 MB / 2.431 GB, free: 226.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002855/5.888, allocations: 197.9 kB / 2.431 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.822/8.71, allocations: 1.875 kB / 2.431 GB, free: 226.6 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)