Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",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.00102/0.00102, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7809/0.7809, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.857/1.857, allocations: 221.3 MB / 400.4 MB, free: 5.812 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 97.39 kB / 483.3 MB, free: 5.812 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.607e-05/6.633e-05, allocations: 4.938 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2488, allocations: 82.31 MB / 0.6405 GB, free: 7.695 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7118/0.9607, allocations: 112.1 MB / 0.75 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.961, allocations: 84.8 kB / 0.7501 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006257/0.9673, allocations: 2.507 MB / 0.7525 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.186e-06/0.9673, allocations: 3.531 kB / 0.7525 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.9673, allocations: 7.812 kB / 0.7526 GB, free: 27.39 MB / 0.5105 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.0002885/0.9676, allocations: 346.5 kB / 0.7529 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.9677, allocations: 7.719 kB / 0.7529 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.477e-05/0.9678, allocations: 105.8 kB / 0.753 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.9678, allocations: 79.12 kB / 0.7531 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.968, allocations: 245.9 kB / 0.7533 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.134e-05/0.9681, allocations: 157.9 kB / 0.7535 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.677e-05/0.9681, allocations: 150.6 kB / 0.7536 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.441e-05/0.9682, allocations: 104.9 kB / 0.7537 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.9682, allocations: 75.28 kB / 0.7538 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.048e-05/0.9683, allocations: 154.4 kB / 0.7539 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.446e-05/0.9684, allocations: 154.6 kB / 0.7541 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.425e-05/0.9684, allocations: 155.3 kB / 0.7542 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.9687, allocations: 447.9 kB / 0.7546 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.943e-05/0.9688, allocations: 169.1 kB / 0.7548 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.9688, allocations: 87.98 kB / 0.7549 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.9688, allocations: 75.28 kB / 0.755 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.9689, allocations: 109.3 kB / 0.7551 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.9689, allocations: 0 / 0.7551 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.953e-05/0.969, allocations: 29.41 kB / 0.7551 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.9691, allocations: 130.6 kB / 0.7552 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.317e-05/0.9692, allocations: 92.84 kB / 0.7553 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.9692, allocations: 25.7 kB / 0.7553 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.9692, allocations: 83.33 kB / 0.7554 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.9692, allocations: 3.844 kB / 0.7554 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.9692, allocations: 0 / 0.7554 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.9694, allocations: 313.5 kB / 0.7557 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.018e-06/0.9694, allocations: 0 / 0.7557 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.504e-06/0.9694, allocations: 0 / 0.7557 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.851e-05/0.9694, allocations: 79.41 kB / 0.7558 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.823e-05/0.9695, allocations: 79.23 kB / 0.7559 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.017e-05/0.9695, allocations: 29.55 kB / 0.7559 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/0.9696, allocations: 79.12 kB / 0.756 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/0.9696, allocations: 83.22 kB / 0.756 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-05/0.9697, allocations: 160.9 kB / 0.7562 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.87e-05/0.9697, allocations: 86.28 kB / 0.7563 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.399e-05/0.9698, allocations: 154.6 kB / 0.7564 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.446e-05/0.9699, allocations: 75.28 kB / 0.7565 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.9699, allocations: 83.19 kB / 0.7566 GB, free: 23.13 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.395e-05/0.97, allocations: 254 kB / 0.7568 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.743e-05/0.97, allocations: 112.4 kB / 0.7569 GB, free: 22.76 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.107e-05/0.9701, allocations: 115.9 kB / 0.757 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.697e-05/0.9702, allocations: 179 kB / 0.7572 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.158e-05/0.9703, allocations: 176.3 kB / 0.7574 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.565e-05/0.9703, allocations: 180.2 kB / 0.7575 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.9705, allocations: 402.8 kB / 0.7579 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.404e-05/0.9706, allocations: 104.9 kB / 0.758 GB, free: 21.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.973e-05/0.9706, allocations: 111.7 kB / 0.7581 GB, free: 21.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.531e-05/0.9707, allocations: 188 kB / 0.7583 GB, free: 21.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.622e-05/0.9708, allocations: 184 kB / 0.7585 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.339e-05/0.9708, allocations: 177.2 kB / 0.7587 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.85e-05/0.9709, allocations: 186.8 kB / 0.7588 GB, free: 20.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.971, allocations: 306.1 kB / 0.7591 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.535e-05/0.9711, allocations: 184.7 kB / 0.7593 GB, free: 20.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.98e-05/0.9712, allocations: 180.2 kB / 0.7595 GB, free: 20 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.9713, allocations: 111.5 kB / 0.7596 GB, free: 19.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.335e-05/0.9713, allocations: 176.7 kB / 0.7598 GB, free: 19.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.9714, allocations: 112.7 kB / 0.7599 GB, free: 19.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.772e-05/0.9714, allocations: 75.28 kB / 0.7599 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9714, allocations: 0 / 0.7599 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003746/0.9718, allocations: 53.47 kB / 0.76 GB, free: 19.5 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008468/0.9727, allocations: 0.9611 MB / 0.7609 GB, free: 18.65 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 3.461e-05/0.9727, allocations: 3.938 kB / 0.7609 GB, free: 18.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9727, allocations: 0 / 0.7609 GB, free: 18.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.9727, allocations: 0 / 0.7609 GB, free: 18.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.973, allocations: 0.5293 MB / 0.7614 GB, free: 18.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.9734, allocations: 183.2 kB / 0.7616 GB, free: 17.92 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.9736, allocations: 0.6753 MB / 0.7623 GB, free: 17.23 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.037e-06/0.9737, allocations: 0 / 0.7623 GB, free: 17.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/0.9737, allocations: 9.875 kB / 0.7623 GB, free: 17.22 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.9737, allocations: 0 / 0.7623 GB, free: 17.22 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.9904, allocations: 1.629 MB / 0.7639 GB, free: 17.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/0.9907, allocations: 211.5 kB / 0.7641 GB, free: 16.79 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.477/2.467, allocations: 0 / 0.7641 GB, free: 16.79 MB / 0.5105 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)