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.004696/0.004697, allocations: 95.39 kB / 15.73 MB, free: 6.039 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.00118/0.00118, allocations: 198.8 kB / 16.68 MB, free: 5.969 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.772/0.772, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 75.52 kB / 0.5809 GB, free: 1.098 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1339, allocations: 80.2 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002409/0.1363, allocations: 1.465 MB / 0.6606 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000658/0.137, allocations: 427 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.457e-05/0.1371, allocations: 4 kB / 0.6611 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.589e-05/0.1371, allocations: 3.938 kB / 0.6611 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.699e-05/0.1372, allocations: 11.91 kB / 0.6611 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001169/0.1373, allocations: 19.92 kB / 0.6611 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.436e-05/0.1374, allocations: 43.86 kB / 0.6611 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1375, allocations: 19.92 kB / 0.6611 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.983e-05/0.1376, allocations: 31.91 kB / 0.6612 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.872e-05/0.1377, allocations: 15.92 kB / 0.6612 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.1377, allocations: 4 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.1377, allocations: 4 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.1377, allocations: 7.938 kB / 0.6612 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.1378, allocations: 19.92 kB / 0.6612 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.693e-05/0.1379, allocations: 44.09 kB / 0.6613 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1379, allocations: 0 / 0.6613 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1379, allocations: 0 / 0.6613 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1379, allocations: 0 / 0.6613 GB, free: 11.86 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.0004205/0.1383, allocations: 347.4 kB / 0.6616 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1384, allocations: 11.97 kB / 0.6616 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.307e-05/0.1384, allocations: 34.75 kB / 0.6616 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.1384, allocations: 12.94 kB / 0.6617 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.1386, allocations: 180.2 kB / 0.6618 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.1386, allocations: 4.375 kB / 0.6618 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.1386, allocations: 4.375 kB / 0.6618 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.1387, allocations: 53.81 kB / 0.6619 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.1387, allocations: 0 / 0.6619 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1387, allocations: 0 / 0.6619 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1387, allocations: 0 / 0.6619 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.361e-05/0.1388, allocations: 27.92 kB / 0.6619 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.1392, allocations: 284.8 kB / 0.6622 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.1394, allocations: 62.61 kB / 0.6622 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.161e-05/0.1394, allocations: 28.89 kB / 0.6623 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.1394, allocations: 4 kB / 0.6623 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.1395, allocations: 30.56 kB / 0.6623 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1395, allocations: 4 kB / 0.6623 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0001768/0.1397, allocations: 69.64 kB / 0.6624 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.1397, allocations: 51.41 kB / 0.6624 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.279e-05/0.1398, allocations: 105.8 kB / 0.6625 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.1398, allocations: 25.7 kB / 0.6626 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.1398, allocations: 88.08 kB / 0.6626 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.1399, allocations: 27.77 kB / 0.6627 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.1399, allocations: 17.72 kB / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.14, allocations: 318.8 kB / 0.663 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.644e-05/0.14, allocations: 15.98 kB / 0.663 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.105e-05/0.1401, allocations: 8 kB / 0.663 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.597e-05/0.1401, allocations: 24.86 kB / 0.663 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1401, allocations: 0 / 0.663 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.266e-05/0.1402, allocations: 61.69 kB / 0.6631 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1403, allocations: 7.984 kB / 0.6631 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1403, allocations: 0 / 0.6631 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1403, allocations: 3.938 kB / 0.6631 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.045e-05/0.1404, allocations: 8.438 kB / 0.6631 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1404, allocations: 4 kB / 0.6631 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.1404, allocations: 0 / 0.6631 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1404, allocations: 11.94 kB / 0.6631 GB, free: 9.727 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 6.754e-05/0.1405, allocations: 118.4 kB / 0.6632 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.1405, allocations: 7.953 kB / 0.6632 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.1407, allocations: 81.22 kB / 0.6633 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1407, allocations: 0 / 0.6633 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1407, allocations: 4 kB / 0.6633 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1407, allocations: 7.938 kB / 0.6633 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.1409, allocations: 181.5 kB / 0.6635 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1409, allocations: 0 / 0.6635 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.378e-05/0.141, allocations: 11.98 kB / 0.6635 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.141, allocations: 4 kB / 0.6635 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.141, allocations: 0 / 0.6635 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.141, allocations: 0 / 0.6635 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.141, allocations: 0 / 0.6635 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.1411, allocations: 179.4 kB / 0.6637 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.1412, allocations: 77.11 kB / 0.6638 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.1412, allocations: 4 kB / 0.6638 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.468e-05/0.1413, allocations: 4 kB / 0.6638 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/0.1413, allocations: 11.92 kB / 0.6638 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.1413, allocations: 0 / 0.6638 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.605e-05/0.1413, allocations: 79.28 kB / 0.6639 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1413, allocations: 0 / 0.6639 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002308/0.1416, allocations: 15.94 kB / 0.6639 GB, free: 8.852 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.0003719/0.142, allocations: 0.7007 MB / 0.6646 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.1421, allocations: 39.91 kB / 0.6646 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1421, allocations: 3.938 kB / 0.6646 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.555e-05/0.1421, allocations: 27.98 kB / 0.6646 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.1423, allocations: 6.031 kB / 0.6646 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.1434, allocations: 1.234 MB / 0.6658 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.1436, allocations: 0.6924 MB / 0.6665 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.468e-05/0.1436, allocations: 12.25 kB / 0.6665 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.1437, allocations: 11.44 kB / 0.6665 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.1437, allocations: 0 / 0.6665 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.1598, allocations: 1.387 MB / 0.6679 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.055/7.215, allocations: 4.719 kB / 0.6679 GB, free: 4.746 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)