Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.EquationOfTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.001052/0.001053, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7979/0.7979, allocations: 133.6 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 101 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.021e-05/3.005e-05, allocations: 4 kB / 0.5536 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4544/0.4544, allocations: 82.3 MB / 0.6339 GB, free: 40.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1545/0.609, allocations: 111 MB / 0.7423 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.6094, allocations: 79.95 kB / 0.7424 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002594/0.612, allocations: 0.846 MB / 0.7432 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.934e-06/0.612, allocations: 4 kB / 0.7432 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.612, allocations: 0 / 0.7432 GB, free: 10.86 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003079/0.6123, allocations: 326.5 kB / 0.7435 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.6124, allocations: 8.031 kB / 0.7435 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.6124, allocations: 0 / 0.7435 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.6125, allocations: 175 kB / 0.7437 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.6126, allocations: 0 / 0.7437 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.6126, allocations: 0 / 0.7437 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.257e-05/0.6127, allocations: 12 kB / 0.7437 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.9e-05/0.6127, allocations: 37.69 kB / 0.7438 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.6128, allocations: 0 / 0.7438 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.6128, allocations: 3.938 kB / 0.7438 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.6128, allocations: 0 / 0.7438 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.6131, allocations: 229.4 kB / 0.744 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.6133, allocations: 42.61 kB / 0.744 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.716e-05/0.6133, allocations: 8.922 kB / 0.744 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.6134, allocations: 0 / 0.744 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.6134, allocations: 42.56 kB / 0.7441 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.6134, allocations: 0 / 0.7441 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0001607/0.6136, allocations: 45.72 kB / 0.7441 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.6136, allocations: 51.41 kB / 0.7442 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.467e-05/0.6136, allocations: 89 kB / 0.7442 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.6137, allocations: 25.7 kB / 0.7443 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.6137, allocations: 84.12 kB / 0.7443 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.6137, allocations: 11.84 kB / 0.7444 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.6137, allocations: 0 / 0.7444 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.6139, allocations: 318.8 kB / 0.7447 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.6139, allocations: 8 kB / 0.7447 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.107e-06/0.6139, allocations: 0 / 0.7447 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.681e-05/0.6139, allocations: 7.984 kB / 0.7447 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6139, allocations: 3.938 kB / 0.7447 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.978e-05/0.614, allocations: 45.69 kB / 0.7447 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.614, allocations: 9.812 kB / 0.7447 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.614, allocations: 0 / 0.7447 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.6141, allocations: 0 / 0.7447 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.789e-05/0.6141, allocations: 11.94 kB / 0.7447 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.6141, allocations: 0 / 0.7447 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.361e-05/0.6142, allocations: 4 kB / 0.7448 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.6142, allocations: 4.172 kB / 0.7448 GB, free: 9.094 MB / 0.5261 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 (3): * Single equations (assignments): 3 * 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 6.615e-05/0.6143, allocations: 108.9 kB / 0.7449 GB, free: 8.98 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.972e-05/0.6143, allocations: 49.58 kB / 0.7449 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.6144, allocations: 0 / 0.7449 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.6145, allocations: 69.73 kB / 0.745 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.6145, allocations: 8 kB / 0.745 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.6145, allocations: 0 / 0.745 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.6145, allocations: 0 / 0.745 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.6147, allocations: 138.2 kB / 0.7451 GB, free: 8.672 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.6147, allocations: 0 / 0.7451 GB, free: 8.672 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.862e-05/0.6147, allocations: 8 kB / 0.7451 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.6148, allocations: 4 kB / 0.7451 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.6148, allocations: 0 / 0.7451 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.6148, allocations: 0 / 0.7451 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6148, allocations: 0 / 0.7451 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.6149, allocations: 163.5 kB / 0.7453 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.026e-05/0.615, allocations: 81.02 kB / 0.7454 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.615, allocations: 0 / 0.7454 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.025e-05/0.615, allocations: 0 / 0.7454 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/0.6151, allocations: 8.062 kB / 0.7454 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.6151, allocations: 4 kB / 0.7454 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.577e-05/0.6151, allocations: 75.28 kB / 0.7454 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6151, allocations: 0 / 0.7454 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000197/0.6153, allocations: 4 kB / 0.7454 GB, free: 8.297 MB / 0.5261 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 (6): * Single equations (assignments): 6 * 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.0003729/0.6157, allocations: 0.6929 MB / 0.7461 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.367e-05/0.6158, allocations: 16 kB / 0.7461 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6158, allocations: 3.938 kB / 0.7461 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.387e-05/0.6158, allocations: 16 kB / 0.7462 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.616, allocations: 7.938 kB / 0.7462 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.6163, allocations: 101.6 kB / 0.7463 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.6165, allocations: 0.6807 MB / 0.7469 GB, free: 6.688 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.486e-05/0.6166, allocations: 3.984 kB / 0.7469 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.6166, allocations: 11.44 kB / 0.7469 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of SimCode: time 3.31e-07/0.6166, allocations: 3.938 kB / 0.7469 GB, free: 6.668 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.6355, allocations: 0.6891 MB / 0.7476 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/0.6357, allocations: 155.1 kB / 0.7478 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.442/2.077, allocations: 7.938 kB / 0.7478 GB, free: 5.793 MB / 0.5261 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)