Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder",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.005085/0.005085, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001328/0.001328, allocations: 194.9 kB / 16.67 MB, free: 5.977 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8265/0.8265, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002642/0.002642, allocations: 59.91 kB / 0.5808 GB, free: 8.07 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/0.4581, allocations: 80.21 MB / 0.6592 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003875/0.462, allocations: 2.589 MB / 0.6617 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.4635, allocations: 0.9136 MB / 0.6626 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002141/0.4638, allocations: 11.75 kB / 0.6626 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.464, allocations: 63.89 kB / 0.6627 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.4641, allocations: 57.11 kB / 0.6627 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.4646, allocations: 245.7 kB / 0.663 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000409/0.465, allocations: 457.9 kB / 0.6634 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.4653, allocations: 225.2 kB / 0.6636 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.4655, allocations: 141.8 kB / 0.6637 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.4657, allocations: 150.2 kB / 0.6639 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.74e-05/0.4657, allocations: 50.03 kB / 0.6639 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.738e-05/0.4658, allocations: 50.16 kB / 0.664 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.85e-05/0.4659, allocations: 91.53 kB / 0.6641 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.466, allocations: 192.8 kB / 0.6643 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005652/0.4666, allocations: 0.6248 MB / 0.6649 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.4666, allocations: 0 / 0.6649 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4666, allocations: 1.188 kB / 0.6649 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.4667, allocations: 0 / 0.6649 GB, free: 5.824 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009311/0.4676, allocations: 0.6563 MB / 0.6655 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.4676, allocations: 9.719 kB / 0.6655 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.258e-05/0.4677, allocations: 63.84 kB / 0.6656 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.808e-05/0.4678, allocations: 52.34 kB / 0.6656 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/0.4683, allocations: 395.7 kB / 0.666 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.4683, allocations: 20.47 kB / 0.666 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.195e-05/0.4684, allocations: 29 kB / 0.666 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005837/0.469, allocations: 328.3 kB / 0.6664 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.469, allocations: 0 / 0.6664 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.4691, allocations: 14.8 kB / 0.6664 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.4691, allocations: 7.312 kB / 0.6664 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004774/0.4696, allocations: 237 kB / 0.6666 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.4709, allocations: 1.154 MB / 0.6677 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/0.4714, allocations: 228.9 kB / 0.668 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.4716, allocations: 97.7 kB / 0.668 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.4716, allocations: 5.328 kB / 0.6681 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.4717, allocations: 36.16 kB / 0.6681 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.4717, allocations: 0 / 0.6681 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006198/0.4723, allocations: 305.8 kB / 0.6684 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.4723, allocations: 82.33 kB / 0.6685 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.4727, allocations: 332.9 kB / 0.6688 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.4727, allocations: 31.17 kB / 0.6688 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.4728, allocations: 194 kB / 0.669 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.4729, allocations: 54.38 kB / 0.669 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.428e-05/0.4729, allocations: 40.42 kB / 0.6691 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.766e-05/0.473, allocations: 345 kB / 0.6694 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.4732, allocations: 95.5 kB / 0.6695 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.4734, allocations: 116 kB / 0.6696 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.4738, allocations: 192.1 kB / 0.6698 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4738, allocations: 0 / 0.6698 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004828/0.4743, allocations: 258.1 kB / 0.67 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.4743, allocations: 5 kB / 0.67 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.4744, allocations: 1.25 kB / 0.67 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.4744, allocations: 1.5 kB / 0.67 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.4746, allocations: 32.48 kB / 0.6701 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.4746, allocations: 9.312 kB / 0.6701 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.4748, allocations: 28.45 kB / 0.6701 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.4748, allocations: 4.906 kB / 0.6701 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002544/0.4751, allocations: 197.8 kB / 0.6703 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001692/0.4752, allocations: 102.8 kB / 0.6704 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002913/0.4755, allocations: 167 kB / 0.6706 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.52e-07/0.4755, allocations: 0 / 0.6706 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004047/0.4759, allocations: 228 kB / 0.6708 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.476, allocations: 4.906 kB / 0.6708 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-06/0.476, allocations: 1.625 kB / 0.6708 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.707e-06/0.476, allocations: 5.25 kB / 0.6708 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.4761, allocations: 25.69 kB / 0.6708 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.4761, allocations: 5.172 kB / 0.6708 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.4763, allocations: 25.75 kB / 0.6708 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.4763, allocations: 8.844 kB / 0.6709 GB, free: 1.141 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001136/0.4764, allocations: 190.2 kB / 0.671 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.4765, allocations: 29.5 kB / 0.6711 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.358e-05/0.4765, allocations: 35.31 kB / 0.6711 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.4766, allocations: 2.938 kB / 0.6711 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.4766, allocations: 3.938 kB / 0.6711 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.4766, allocations: 7.984 kB / 0.6711 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004571/0.477, allocations: 414.4 kB / 0.6715 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4771, allocations: 0 / 0.6715 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.4772, allocations: 29.2 kB / 0.6715 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4772, allocations: 0 / 0.6715 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.4773, allocations: 5.469 kB / 0.6715 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.4773, allocations: 5.219 kB / 0.6715 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4773, allocations: 3.938 kB / 0.6716 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006792/0.478, allocations: 431.9 kB / 0.672 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.874e-05/0.4781, allocations: 135.1 kB / 0.6721 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.4781, allocations: 5.219 kB / 0.6721 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.4783, allocations: 9.328 kB / 0.6721 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.4783, allocations: 17.27 kB / 0.6721 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.4784, allocations: 2.969 kB / 0.6721 GB, free: 60 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003158/0.4787, allocations: 234.8 kB / 0.6723 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4787, allocations: 4.062 kB / 0.6724 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003973/0.4791, allocations: 96.67 kB / 0.6724 GB, free: 15.86 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.001203/0.4803, allocations: 0.9613 MB / 0.6734 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007148/0.481, allocations: 288.4 kB / 0.6737 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.481, allocations: 0 / 0.6737 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.4813, allocations: 98.8 kB / 0.6738 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006635/0.4819, allocations: 84.41 kB / 0.6738 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005204/0.4872, allocations: 2.943 MB / 0.6767 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.4877, allocations: 0.776 MB / 0.6775 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001627/0.4878, allocations: 36.83 kB / 0.6775 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.488, allocations: 96.5 kB / 0.6776 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of SimCode: time 8.92e-07/0.488, allocations: 0 / 0.6776 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04074/0.5288, allocations: 6.672 MB / 0.6841 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.461/8.989, allocations: 11.89 kB / 0.6841 GB, free: 8.602 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)