Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.GetTimeSpanTMY3,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.006072/0.006072, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001207/0.001207, allocations: 199.9 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9047/0.9047, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.89 kB / 0.5852 GB, free: 3.848 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.373, allocations: 80.92 MB / 0.6642 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.00192/0.3749, allocations: 1.267 MB / 0.6654 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008286/0.3758, allocations: 0.7407 MB / 0.6661 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.57e-05/0.3758, allocations: 0 / 0.6661 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.208e-05/0.3759, allocations: 3.984 kB / 0.6661 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.3761, allocations: 18.52 kB / 0.6662 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.3763, allocations: 50.17 kB / 0.6662 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.372e-05/0.3764, allocations: 19.61 kB / 0.6662 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.3764, allocations: 2.125 kB / 0.6662 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.347e-05/0.3765, allocations: 15.95 kB / 0.6662 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.3766, allocations: 13.42 kB / 0.6663 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.3766, allocations: 0 / 0.6663 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.305e-05/0.3767, allocations: 5.219 kB / 0.6663 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.162e-05/0.3767, allocations: 10.23 kB / 0.6663 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.3767, allocations: 7.344 kB / 0.6663 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.739e-05/0.3768, allocations: 29.78 kB / 0.6663 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3769, allocations: 1.125 kB / 0.6663 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.225e-06/0.3769, allocations: 0 / 0.6663 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.3769, allocations: 3.938 kB / 0.6663 GB, free: 5.586 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002605/0.3771, allocations: 328.3 kB / 0.6666 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3772, allocations: 9.531 kB / 0.6666 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.846e-05/0.3772, allocations: 106 kB / 0.6667 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.3773, allocations: 77.47 kB / 0.6668 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.309e-05/0.3774, allocations: 250.5 kB / 0.667 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.3774, allocations: 152 kB / 0.6672 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.3774, allocations: 152 kB / 0.6673 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.631e-05/0.3774, allocations: 114.5 kB / 0.6674 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3775, allocations: 79.22 kB / 0.6675 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.3775, allocations: 150.6 kB / 0.6677 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.3775, allocations: 155.7 kB / 0.6678 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.711e-05/0.3775, allocations: 150.6 kB / 0.668 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.3777, allocations: 454.4 kB / 0.6684 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.579e-05/0.3777, allocations: 166.4 kB / 0.6685 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.323e-05/0.3778, allocations: 84.14 kB / 0.6686 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.3778, allocations: 75.28 kB / 0.6687 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.3778, allocations: 111.4 kB / 0.6688 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3778, allocations: 0 / 0.6688 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.096e-05/0.3779, allocations: 38.84 kB / 0.6688 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.3779, allocations: 128.2 kB / 0.669 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.921e-05/0.378, allocations: 109 kB / 0.6691 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.378, allocations: 26.98 kB / 0.6691 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.989e-05/0.378, allocations: 80.14 kB / 0.6692 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.378, allocations: 1.281 kB / 0.6692 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.3781, allocations: 21.7 kB / 0.6692 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.316e-05/0.3781, allocations: 312 kB / 0.6695 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.565e-05/0.3781, allocations: 4.062 kB / 0.6695 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.384e-05/0.3781, allocations: 9.141 kB / 0.6695 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.938e-05/0.3782, allocations: 21.02 kB / 0.6695 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3782, allocations: 0 / 0.6695 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.213e-05/0.3783, allocations: 43.94 kB / 0.6696 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.3783, allocations: 9.875 kB / 0.6696 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3783, allocations: 3.984 kB / 0.6696 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.3783, allocations: 1.406 kB / 0.6696 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.3783, allocations: 3.938 kB / 0.6696 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.3783, allocations: 0 / 0.6696 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.199e-05/0.3784, allocations: 5.219 kB / 0.6696 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.3784, allocations: 5.406 kB / 0.6696 GB, free: 2.062 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 4.901e-05/0.3785, allocations: 189.3 kB / 0.6698 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.3785, allocations: 110.2 kB / 0.6699 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.188e-05/0.3786, allocations: 117.8 kB / 0.67 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/0.3786, allocations: 177.9 kB / 0.6702 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.076e-05/0.3786, allocations: 188.2 kB / 0.6703 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-05/0.3786, allocations: 177.8 kB / 0.6705 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.3788, allocations: 403.9 kB / 0.6709 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.3788, allocations: 106 kB / 0.671 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.095e-05/0.3788, allocations: 102.6 kB / 0.6711 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.93e-05/0.3788, allocations: 185.6 kB / 0.6713 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.3788, allocations: 184.3 kB / 0.6714 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.358e-05/0.3789, allocations: 181.7 kB / 0.6716 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.657e-05/0.379, allocations: 189.9 kB / 0.6718 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.3791, allocations: 302.5 kB / 0.6721 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.3792, allocations: 187.5 kB / 0.6723 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.553e-05/0.3792, allocations: 190.6 kB / 0.6724 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.131e-05/0.3793, allocations: 101 kB / 0.6725 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.3794, allocations: 178 kB / 0.6727 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.3794, allocations: 110.4 kB / 0.6728 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.378e-05/0.3795, allocations: 87.86 kB / 0.6729 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3795, allocations: 0 / 0.6729 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002242/0.3797, allocations: 12.17 kB / 0.6729 GB, free: 14.47 MB / 0.5137 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 (0): * Single equations (assignments): 0 * 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.0004522/0.3801, allocations: 0.8121 MB / 0.6737 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.882e-05/0.3802, allocations: 16.02 kB / 0.6737 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3802, allocations: 1.312 kB / 0.6737 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.3802, allocations: 0 / 0.6737 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.3806, allocations: 454.6 kB / 0.6742 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008963/0.3815, allocations: 1.291 MB / 0.6754 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.3817, allocations: 0.6757 MB / 0.6761 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.802e-05/0.3817, allocations: 9.547 kB / 0.6761 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.3817, allocations: 8.719 kB / 0.6761 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.3817, allocations: 0 / 0.6761 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.3984, allocations: 1.28 MB / 0.6773 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.939/7.337, allocations: 24.05 kB / 0.6774 GB, free: 10.46 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1)