Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",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.001223/0.001223, allocations: 176.2 kB / 7.648 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.8213/0.8213, allocations: 133.6 MB / 141.6 MB, free: 2.887 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.521/1.521, allocations: 221.5 MB / 395.5 MB, free: 10.85 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.0009729/0.000973, allocations: 103.5 kB / 478.2 MB, free: 1.348 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 5.08e-05/5.157e-05, allocations: 4 kB / 0.5536 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5435/0.5436, allocations: 82.3 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1849/0.7285, allocations: 111.3 MB / 0.7426 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.7288, allocations: 75.95 kB / 0.7427 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.007575/0.7364, allocations: 2.737 MB / 0.7453 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7364, allocations: 0 / 0.7453 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.7364, allocations: 0 / 0.7453 GB, free: 8.621 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.0003996/0.7368, allocations: 342.5 kB / 0.7457 GB, free: 8.242 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.7369, allocations: 8.031 kB / 0.7457 GB, free: 8.234 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.737, allocations: 11.91 kB / 0.7457 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.7371, allocations: 163 kB / 0.7458 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.7372, allocations: 4 kB / 0.7458 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.7372, allocations: 0 / 0.7458 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.148e-05/0.7373, allocations: 19.92 kB / 0.7459 GB, free: 8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.7374, allocations: 60.27 kB / 0.7459 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.7374, allocations: 0 / 0.7459 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.7374, allocations: 4 kB / 0.7459 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.7374, allocations: 0 / 0.7459 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.7378, allocations: 241.5 kB / 0.7462 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.879e-05/0.7379, allocations: 38.52 kB / 0.7462 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.738, allocations: 16.86 kB / 0.7462 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.738, allocations: 0 / 0.7462 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.7381, allocations: 59.48 kB / 0.7463 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.7381, allocations: 0 / 0.7463 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0002061/0.7384, allocations: 65.58 kB / 0.7463 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.7384, allocations: 102.8 kB / 0.7464 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.212e-05/0.7385, allocations: 97 kB / 0.7465 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.7386, allocations: 33.64 kB / 0.7466 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.7386, allocations: 84.14 kB / 0.7466 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.7387, allocations: 15.83 kB / 0.7466 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-06/0.7387, allocations: 0 / 0.7466 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.7388, allocations: 318.7 kB / 0.7469 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.248e-05/0.7388, allocations: 8 kB / 0.747 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.4e-05/0.7389, allocations: 30.58 kB / 0.747 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.011e-05/0.7389, allocations: 16.02 kB / 0.747 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7389, allocations: 3.938 kB / 0.747 GB, free: 6.688 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.367e-05/0.739, allocations: 57.59 kB / 0.7471 GB, free: 6.625 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.739, allocations: 4 kB / 0.7471 GB, free: 6.621 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.7391, allocations: 0 / 0.7471 GB, free: 6.621 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.7391, allocations: 0 / 0.7471 GB, free: 6.621 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.017e-05/0.7391, allocations: 11.94 kB / 0.7471 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.7392, allocations: 0 / 0.7471 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.708e-05/0.7393, allocations: 12.42 kB / 0.7471 GB, free: 6.598 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.7393, allocations: 4 kB / 0.7471 GB, free: 6.594 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: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.659e-05/0.7394, allocations: 114.8 kB / 0.7472 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.502e-05/0.7395, allocations: 57.69 kB / 0.7473 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/0.7395, allocations: 3.984 kB / 0.7473 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.7395, allocations: 8.219 kB / 0.7473 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.7395, allocations: 7.984 kB / 0.7473 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.7396, allocations: 0 / 0.7473 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.7396, allocations: 0 / 0.7473 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.7397, allocations: 150.1 kB / 0.7474 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7397, allocations: 0 / 0.7474 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.252e-05/0.7397, allocations: 8 kB / 0.7474 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.7397, allocations: 0 / 0.7474 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.7397, allocations: 11.92 kB / 0.7474 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7398, allocations: 0 / 0.7474 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7398, allocations: 0 / 0.7474 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.7399, allocations: 85.08 kB / 0.7475 GB, free: 6.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.74, allocations: 85.09 kB / 0.7476 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.74, allocations: 0 / 0.7476 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.669e-05/0.7401, allocations: 15.98 kB / 0.7476 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.7401, allocations: 3.984 kB / 0.7476 GB, free: 5.969 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.7401, allocations: 4 kB / 0.7476 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.039e-05/0.7402, allocations: 83.28 kB / 0.7477 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/0.7402, allocations: 0 / 0.7477 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001925/0.7404, allocations: 11.94 kB / 0.7477 GB, free: 5.871 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004118/0.7408, allocations: 0.6363 MB / 0.7483 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.817e-05/0.7409, allocations: 24 kB / 0.7484 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7409, allocations: 0 / 0.7484 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.764e-05/0.741, allocations: 15.98 kB / 0.7484 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001108/0.7411, allocations: 4 kB / 0.7484 GB, free: 5.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.7414, allocations: 101.6 kB / 0.7485 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.7417, allocations: 0.6885 MB / 0.7491 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.534e-05/0.7417, allocations: 4 kB / 0.7491 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.7418, allocations: 11.38 kB / 0.7492 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/0.7418, allocations: 0 / 0.7492 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.771, allocations: 1.171 MB / 0.7503 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002923/0.7714, allocations: 175.8 kB / 0.7505 GB, free: 2.949 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/2.281, allocations: 0 / 0.7505 GB, free: 2.949 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)