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.005122/0.005122, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001227/0.001227, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.23/1.23, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7246/0.7246, allocations: 132.2 MB / 422.7 MB, free: 6.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 67.14 kB / 0.5809 GB, free: 24.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1231, allocations: 80.2 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002269/0.1254, allocations: 1.475 MB / 0.6606 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000582/0.126, allocations: 431 kB / 0.6611 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.223e-05/0.126, allocations: 0 / 0.6611 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.47e-05/0.1261, allocations: 3.938 kB / 0.6611 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.934e-05/0.1261, allocations: 7.922 kB / 0.6611 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001114/0.1263, allocations: 27.91 kB / 0.6611 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.436e-05/0.1263, allocations: 39.86 kB / 0.6611 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.391e-05/0.1264, allocations: 19.92 kB / 0.6612 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.809e-05/0.1265, allocations: 23.98 kB / 0.6612 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.1266, allocations: 19.91 kB / 0.6612 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1266, allocations: 4 kB / 0.6612 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-06/0.1266, allocations: 4 kB / 0.6612 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.1266, allocations: 11.94 kB / 0.6612 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.1267, allocations: 19.92 kB / 0.6612 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.557e-05/0.1268, allocations: 40.09 kB / 0.6613 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1268, allocations: 11.88 kB / 0.6613 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1268, allocations: 0 / 0.6613 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.1268, allocations: 0 / 0.6613 GB, free: 8.605 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.0003869/0.1272, allocations: 343.4 kB / 0.6616 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.1272, allocations: 12.03 kB / 0.6616 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.014e-05/0.1273, allocations: 42.69 kB / 0.6617 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.949e-05/0.1273, allocations: 0.9375 kB / 0.6617 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.1274, allocations: 176.3 kB / 0.6618 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1274, allocations: 4.375 kB / 0.6618 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.1274, allocations: 4.375 kB / 0.6618 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.1275, allocations: 57.75 kB / 0.6619 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.1275, allocations: 0 / 0.6619 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.1276, allocations: 0 / 0.6619 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1276, allocations: 0 / 0.6619 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.242e-05/0.1276, allocations: 31.98 kB / 0.6619 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.128, allocations: 280.8 kB / 0.6622 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.1281, allocations: 58.59 kB / 0.6622 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.065e-05/0.1282, allocations: 28.89 kB / 0.6623 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.1282, allocations: 0 / 0.6623 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.1282, allocations: 34.56 kB / 0.6623 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.1282, allocations: 0 / 0.6623 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0001607/0.1284, allocations: 73.67 kB / 0.6624 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.1284, allocations: 51.41 kB / 0.6624 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.454e-05/0.1285, allocations: 105.8 kB / 0.6625 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.1285, allocations: 25.7 kB / 0.6626 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/0.1286, allocations: 88.14 kB / 0.6626 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.1286, allocations: 15.8 kB / 0.6627 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.1286, allocations: 25.7 kB / 0.6627 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.867e-05/0.1287, allocations: 314.8 kB / 0.663 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.1287, allocations: 15.98 kB / 0.663 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.701e-05/0.1288, allocations: 8 kB / 0.663 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.529e-05/0.1288, allocations: 24.86 kB / 0.663 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1288, allocations: 0 / 0.663 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.307e-05/0.1289, allocations: 66 kB / 0.6631 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.1289, allocations: 7.984 kB / 0.6631 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1289, allocations: 4.062 kB / 0.6631 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1289, allocations: 11.94 kB / 0.6631 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.152e-05/0.129, allocations: 4 kB / 0.6631 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.129, allocations: 0 / 0.6631 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.067e-05/0.1291, allocations: 4 kB / 0.6631 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.1291, 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 6.086e-05/0.1291, allocations: 118.6 kB / 0.6632 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.1292, allocations: 11.94 kB / 0.6632 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.1293, allocations: 85.16 kB / 0.6633 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1293, allocations: 8 kB / 0.6633 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.1293, allocations: 0 / 0.6633 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1293, allocations: 0 / 0.6633 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.1295, allocations: 181.5 kB / 0.6635 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1295, allocations: 0 / 0.6635 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.813e-05/0.1296, allocations: 12 kB / 0.6635 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1296, allocations: 3.984 kB / 0.6635 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.1296, allocations: 0 / 0.6635 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1296, allocations: 0 / 0.6635 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1296, allocations: 0 / 0.6635 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.1297, allocations: 183.4 kB / 0.6637 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.1298, allocations: 81.11 kB / 0.6638 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.1298, allocations: 0 / 0.6638 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.199e-05/0.1299, allocations: 4 kB / 0.6638 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.1299, allocations: 7.984 kB / 0.6638 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.1299, allocations: 0 / 0.6638 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.567e-05/0.1299, allocations: 79.28 kB / 0.6639 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.13, allocations: 0 / 0.6639 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002132/0.1302, allocations: 15.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.00036/0.1305, allocations: 0.7046 MB / 0.6646 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.45e-05/0.1306, allocations: 35.98 kB / 0.6646 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1306, allocations: 0 / 0.6646 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.089e-05/0.1307, allocations: 31.92 kB / 0.6646 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.1309, allocations: 4 kB / 0.6646 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009225/0.1318, allocations: 1.246 MB / 0.6658 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.132, allocations: 0.6846 MB / 0.6665 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.027e-05/0.1321, allocations: 4 kB / 0.6665 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.1321, allocations: 15.38 kB / 0.6665 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1321, allocations: 4 kB / 0.6665 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/0.1476, allocations: 1.383 MB / 0.6679 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.722/6.87, allocations: 6.969 kB / 0.6679 GB, free: 1.5 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)