Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.006826/0.006826, allocations: 101.6 kB / 15.73 MB, free: 6.055 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.001541/0.001542, allocations: 196.5 kB / 16.68 MB, free: 5.973 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8047/0.8047, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 69.83 kB / 0.5809 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1437, allocations: 80.21 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002809/0.1466, allocations: 1.469 MB / 0.6606 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007223/0.1473, allocations: 434.9 kB / 0.6611 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.219e-05/0.1474, allocations: 4 kB / 0.6611 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.923e-05/0.1474, allocations: 3.938 kB / 0.6611 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.629e-05/0.1475, allocations: 3.938 kB / 0.6611 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001312/0.1477, allocations: 23.95 kB / 0.6611 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.128e-05/0.1478, allocations: 47.8 kB / 0.6611 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1479, allocations: 11.98 kB / 0.6611 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.148, allocations: 19.94 kB / 0.6612 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.561e-05/0.1481, allocations: 27.89 kB / 0.6612 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.1481, allocations: 4 kB / 0.6612 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.1481, allocations: 4 kB / 0.6612 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.1482, allocations: 7.938 kB / 0.6612 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.1482, allocations: 19.92 kB / 0.6612 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.468e-05/0.1483, allocations: 34.72 kB / 0.6613 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1483, allocations: 0 / 0.6613 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1483, allocations: 4 kB / 0.6613 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.1483, allocations: 0 / 0.6613 GB, free: 8.621 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004916/0.1488, allocations: 356.2 kB / 0.6616 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1489, allocations: 12.02 kB / 0.6616 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.1489, allocations: 38.69 kB / 0.6616 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.635e-05/0.1489, allocations: 0.9375 kB / 0.6616 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.1491, allocations: 164.4 kB / 0.6618 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1491, allocations: 4.375 kB / 0.6618 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.1491, allocations: 8.359 kB / 0.6618 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.1493, allocations: 61.73 kB / 0.6619 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1493, allocations: 4 kB / 0.6619 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.1493, allocations: 0 / 0.6619 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1493, allocations: 0 / 0.6619 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.165e-05/0.1494, allocations: 31.92 kB / 0.6619 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.1498, allocations: 284.7 kB / 0.6622 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.15, allocations: 66.66 kB / 0.6622 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.812e-05/0.15, allocations: 24.86 kB / 0.6623 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.1501, allocations: 4 kB / 0.6623 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.1501, allocations: 34.55 kB / 0.6623 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.1501, allocations: 0 / 0.6623 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0002079/0.1503, allocations: 65.69 kB / 0.6624 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.1504, allocations: 55.34 kB / 0.6624 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.124e-05/0.1504, allocations: 97.86 kB / 0.6625 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1505, allocations: 25.7 kB / 0.6625 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.1505, allocations: 100 kB / 0.6626 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.1505, allocations: 7.812 kB / 0.6626 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.1506, allocations: 21.7 kB / 0.6627 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1507, allocations: 314.8 kB / 0.663 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.353e-05/0.1507, allocations: 12 kB / 0.663 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.941e-05/0.1508, allocations: 11.98 kB / 0.663 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.913e-05/0.1508, allocations: 24.86 kB / 0.663 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1508, allocations: 384 / 0.663 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.236e-05/0.1509, allocations: 69.69 kB / 0.6631 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1509, allocations: 7.938 kB / 0.6631 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.1509, allocations: 0 / 0.6631 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.151, allocations: 4 kB / 0.6631 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.151, allocations: 7.984 kB / 0.6631 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.151, allocations: 0 / 0.6631 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.304e-05/0.1511, allocations: 15.78 kB / 0.6631 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.1511, allocations: 0 / 0.6631 GB, free: 6.492 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.827e-05/0.1512, allocations: 114.7 kB / 0.6632 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.1512, allocations: 8 kB / 0.6632 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.1514, allocations: 81.22 kB / 0.6633 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1514, allocations: 7.938 kB / 0.6633 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1514, allocations: 0 / 0.6633 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1514, allocations: 3.984 kB / 0.6633 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.1516, allocations: 181.6 kB / 0.6635 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1516, allocations: 0 / 0.6635 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.973e-05/0.1517, allocations: 15.94 kB / 0.6635 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1517, allocations: 0 / 0.6635 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.1517, allocations: 0 / 0.6635 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1517, allocations: 4 kB / 0.6635 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1517, allocations: 0 / 0.6635 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.1519, allocations: 175.6 kB / 0.6637 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.1519, allocations: 81.11 kB / 0.6638 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.152, allocations: 7.984 kB / 0.6638 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.258e-05/0.152, allocations: 0 / 0.6638 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.152, allocations: 7.938 kB / 0.6638 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.1521, allocations: 3.984 kB / 0.6638 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.985e-05/0.1521, allocations: 87.28 kB / 0.6639 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1521, allocations: 0 / 0.6639 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002223/0.1523, allocations: 11.94 kB / 0.6639 GB, free: 5.613 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000447/0.1528, allocations: 0.7007 MB / 0.6646 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.1529, allocations: 43.92 kB / 0.6646 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.1529, allocations: 0 / 0.6646 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.514e-05/0.153, allocations: 20 kB / 0.6646 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.1532, allocations: 10.41 kB / 0.6646 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1542, allocations: 1.25 MB / 0.6658 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.1545, allocations: 0.6884 MB / 0.6665 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.38e-05/0.1545, allocations: 7.984 kB / 0.6665 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.1546, allocations: 15.44 kB / 0.6665 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1546, allocations: 0 / 0.6665 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.1812, allocations: 1.393 MB / 0.6679 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.907/7.088, allocations: 11.67 kB / 0.6679 GB, free: 1.48 MB / 0.4981 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)