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.006966/0.006966, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.001635/0.001635, allocations: 194.8 kB / 16.67 MB, free: 5.969 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.351/1.351, 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.7639/0.7639, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.89 kB / 0.5808 GB, free: 8.047 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4142, allocations: 80.19 MB / 0.6592 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003542/0.4178, allocations: 2.613 MB / 0.6617 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001506/0.4193, allocations: 0.9087 MB / 0.6626 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002804/0.4196, allocations: 16.31 kB / 0.6626 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.4198, allocations: 62.27 kB / 0.6627 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.42, allocations: 62.84 kB / 0.6627 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.4204, allocations: 229.8 kB / 0.6629 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000355/0.4208, allocations: 452.4 kB / 0.6634 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002891/0.4211, allocations: 232.6 kB / 0.6636 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.4212, allocations: 147.6 kB / 0.6637 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.4214, allocations: 151.2 kB / 0.6639 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.852e-05/0.4214, allocations: 49.66 kB / 0.6639 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.903e-05/0.4215, allocations: 50.84 kB / 0.664 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.808e-05/0.4215, allocations: 87.62 kB / 0.6641 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.4217, allocations: 193.5 kB / 0.6643 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004063/0.4221, allocations: 0.6218 MB / 0.6649 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4221, allocations: 4 kB / 0.6649 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4221, allocations: 1.281 kB / 0.6649 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.4221, allocations: 0 / 0.6649 GB, free: 5.828 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.0007015/0.4228, allocations: 0.6456 MB / 0.6655 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.4228, allocations: 10.25 kB / 0.6655 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.781e-05/0.4229, allocations: 67 kB / 0.6656 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.003e-05/0.423, allocations: 39.72 kB / 0.6656 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.4234, allocations: 391.2 kB / 0.666 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.4234, allocations: 19.94 kB / 0.666 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.4234, allocations: 26.59 kB / 0.666 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004678/0.4239, allocations: 335 kB / 0.6663 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4239, allocations: 1.562 kB / 0.6663 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.424, allocations: 14.8 kB / 0.6664 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.424, allocations: 5.594 kB / 0.6664 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.4244, allocations: 233.4 kB / 0.6666 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.4255, allocations: 1.153 MB / 0.6677 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004165/0.426, allocations: 233.9 kB / 0.6679 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.4261, allocations: 92.95 kB / 0.668 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.4262, allocations: 2.406 kB / 0.668 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.4262, allocations: 39.81 kB / 0.6681 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.754e-06/0.4262, allocations: 1.375 kB / 0.6681 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0005741/0.4268, allocations: 297.5 kB / 0.6683 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.4268, allocations: 82.5 kB / 0.6684 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.4271, allocations: 328 kB / 0.6687 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.4271, allocations: 31.33 kB / 0.6688 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.56e-05/0.4272, allocations: 198.5 kB / 0.669 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.4273, allocations: 57.78 kB / 0.669 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.4273, allocations: 40.08 kB / 0.6691 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.477e-05/0.4274, allocations: 341.5 kB / 0.6694 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.4275, allocations: 88.05 kB / 0.6695 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.4277, allocations: 122 kB / 0.6696 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.428, allocations: 190.2 kB / 0.6698 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.428, allocations: 0 / 0.6698 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003803/0.4284, allocations: 259.3 kB / 0.67 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.4284, allocations: 5.531 kB / 0.67 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4284, allocations: 1.781 kB / 0.67 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.4285, allocations: 1.5 kB / 0.67 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.4286, allocations: 32.7 kB / 0.67 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.4286, allocations: 5.469 kB / 0.6701 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.4288, allocations: 29.36 kB / 0.6701 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.4288, allocations: 7.531 kB / 0.6701 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001875/0.429, allocations: 202 kB / 0.6703 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001258/0.4291, allocations: 100.2 kB / 0.6704 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000219/0.4293, allocations: 161.5 kB / 0.6705 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.4293, allocations: 8.016 kB / 0.6705 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003102/0.4297, allocations: 231.9 kB / 0.6708 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/0.4297, allocations: 5.156 kB / 0.6708 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.4297, allocations: 1.188 kB / 0.6708 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-06/0.4297, allocations: 1.281 kB / 0.6708 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.4298, allocations: 33.83 kB / 0.6708 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.4298, allocations: 1.188 kB / 0.6708 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.4299, allocations: 14.88 kB / 0.6708 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.43, allocations: 12.16 kB / 0.6708 GB, free: 1.172 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 7.116e-05/0.43, allocations: 188.4 kB / 0.671 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.4301, allocations: 29.22 kB / 0.671 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.927e-05/0.4302, allocations: 35.47 kB / 0.6711 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4302, allocations: 1.219 kB / 0.6711 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.4302, allocations: 9.078 kB / 0.6711 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4302, allocations: 0 / 0.6711 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.4305, allocations: 413.5 kB / 0.6715 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.4305, allocations: 1.625 kB / 0.6715 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.4307, allocations: 27.55 kB / 0.6715 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4307, allocations: 5.125 kB / 0.6715 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.4307, allocations: 5.281 kB / 0.6715 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4307, allocations: 1.688 kB / 0.6715 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4307, allocations: 3.938 kB / 0.6715 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005598/0.4313, allocations: 435.1 kB / 0.6719 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.098e-05/0.4314, allocations: 133.6 kB / 0.6721 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.4314, allocations: 10.88 kB / 0.6721 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.4316, allocations: 8.984 kB / 0.6721 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.4316, allocations: 16.73 kB / 0.6721 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.4316, allocations: 3.812 kB / 0.6721 GB, free: 88 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002258/0.4319, allocations: 234.5 kB / 0.6723 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4319, allocations: 0 / 0.6723 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003857/0.4323, allocations: 96.28 kB / 0.6724 GB, free: 15.9 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.0009031/0.4332, allocations: 0.9642 MB / 0.6734 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005454/0.4337, allocations: 281.4 kB / 0.6736 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4337, allocations: 5.125 kB / 0.6736 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.4339, allocations: 94.83 kB / 0.6737 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005371/0.4345, allocations: 90.52 kB / 0.6738 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/0.4383, allocations: 2.923 MB / 0.6767 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.4386, allocations: 0.7719 MB / 0.6774 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001353/0.4388, allocations: 24.84 kB / 0.6774 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.4389, allocations: 104.7 kB / 0.6775 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.4389, allocations: 0 / 0.6775 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.4652, allocations: 6.736 MB / 0.6841 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.142/8.608, allocations: 12.3 kB / 0.6841 GB, free: 8.629 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)