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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004733/0.004733, allocations: 101.9 kB / 15.73 MB, free: 6.062 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.001077/0.001077, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8026/0.8026, allocations: 135.1 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 59.91 kB / 0.5852 GB, free: 21.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1307, allocations: 80.93 MB / 0.6642 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002493/0.1332, allocations: 1.43 MB / 0.6656 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000411/0.1337, allocations: 191.4 kB / 0.6658 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.074e-05/0.1337, allocations: 0 / 0.6658 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.323e-05/0.1338, allocations: 0 / 0.6658 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.134, allocations: 15.86 kB / 0.6658 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.1342, allocations: 59.23 kB / 0.6658 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.323e-05/0.1343, allocations: 51.89 kB / 0.6659 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.685e-05/0.1344, allocations: 11.98 kB / 0.6659 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.723e-05/0.1344, allocations: 27.86 kB / 0.6659 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.294e-05/0.1345, allocations: 19.92 kB / 0.666 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.1345, allocations: 4 kB / 0.666 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.1345, allocations: 7.938 kB / 0.666 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.963e-05/0.1346, allocations: 11.97 kB / 0.666 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.1346, allocations: 19.92 kB / 0.666 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.742e-05/0.1347, allocations: 44.09 kB / 0.666 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1347, allocations: 3.984 kB / 0.666 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1348, allocations: 0 / 0.666 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.1348, allocations: 4 kB / 0.666 GB, free: 4.383 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004802/0.1352, allocations: 347.4 kB / 0.6664 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1353, allocations: 9.109 kB / 0.6664 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.43e-05/0.1353, allocations: 34.75 kB / 0.6664 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.1354, allocations: 0.9375 kB / 0.6664 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.1355, allocations: 172.3 kB / 0.6666 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1355, allocations: 384 / 0.6666 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.1355, allocations: 4.375 kB / 0.6666 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.1357, allocations: 72.75 kB / 0.6667 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1357, allocations: 3.938 kB / 0.6667 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1357, allocations: 4 kB / 0.6667 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1357, allocations: 0 / 0.6667 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.858e-05/0.1358, allocations: 12 kB / 0.6667 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.1361, allocations: 260.9 kB / 0.6669 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.807e-05/0.1362, allocations: 46.45 kB / 0.667 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.708e-05/0.1363, allocations: 24.94 kB / 0.667 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.1363, allocations: 0 / 0.667 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.1365, allocations: 63.39 kB / 0.6671 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 2.665e-06/0.1365, allocations: 0 / 0.6671 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002104/0.1367, allocations: 77.55 kB / 0.6671 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.1368, allocations: 110.8 kB / 0.6672 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.379e-05/0.1369, allocations: 101.9 kB / 0.6673 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.1369, allocations: 25.7 kB / 0.6674 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.492e-05/0.1369, allocations: 92.08 kB / 0.6674 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.137, allocations: 7.953 kB / 0.6674 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.137, allocations: 21.7 kB / 0.6675 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.846e-05/0.1371, allocations: 314.8 kB / 0.6678 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.721e-05/0.1371, allocations: 8 kB / 0.6678 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.539e-05/0.1372, allocations: 38.56 kB / 0.6678 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.365e-05/0.1372, allocations: 28.8 kB / 0.6678 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1373, allocations: 3.938 kB / 0.6678 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001011/0.1374, allocations: 61.64 kB / 0.6679 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1374, allocations: 4 kB / 0.6679 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.1374, allocations: 0 / 0.6679 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1374, allocations: 0 / 0.6679 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.697e-05/0.1375, allocations: 11.98 kB / 0.6679 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1375, allocations: 3.938 kB / 0.6679 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.1376, allocations: 19.95 kB / 0.6679 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.1376, allocations: 4 kB / 0.6679 GB, free: 2.164 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: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * 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 8.121e-05/0.1377, allocations: 115.1 kB / 0.6681 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.1377, allocations: 4 kB / 0.6681 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.1378, allocations: 7.5 kB / 0.6681 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1378, allocations: 192 / 0.6681 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1378, allocations: 4.438 kB / 0.6681 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1378, allocations: 3.984 kB / 0.6681 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.1379, allocations: 181.5 kB / 0.6682 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1379, allocations: 8 kB / 0.6683 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/0.1379, allocations: 0 / 0.6683 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.138, allocations: 0 / 0.6683 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.138, allocations: 4 kB / 0.6683 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.138, allocations: 0 / 0.6683 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.138, allocations: 0 / 0.6683 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.1381, allocations: 93 kB / 0.6683 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/0.1382, allocations: 85.09 kB / 0.6684 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.1382, allocations: 7.938 kB / 0.6684 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.1383, allocations: 11.98 kB / 0.6684 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.1384, allocations: 4 kB / 0.6685 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.1384, allocations: 4 kB / 0.6685 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.205e-05/0.1384, allocations: 87.27 kB / 0.6685 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1384, allocations: 0 / 0.6685 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000198/0.1386, allocations: 8 kB / 0.6685 GB, free: 1.445 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * 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 (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.000373/0.139, allocations: 0.6319 MB / 0.6692 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.1391, allocations: 27.98 kB / 0.6692 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1392, allocations: 0 / 0.6692 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.024e-05/0.1392, allocations: 19.94 kB / 0.6692 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.1394, allocations: 8 kB / 0.6692 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.1404, allocations: 1.172 MB / 0.6704 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.1407, allocations: 0.6846 MB / 0.671 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.769e-05/0.1408, allocations: 4 kB / 0.671 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.1408, allocations: 11.44 kB / 0.671 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.1408, allocations: 4 kB / 0.671 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.1572, allocations: 1.77 MB / 0.6728 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.339/7.496, allocations: 2.188 kB / 0.6728 GB, free: 13.12 MB / 0.5137 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.csv --start-time -3.1536e+07 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 25228.8 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)