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.001103/0.001103, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002362/0.002362, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.418/1.418, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7757/0.7757, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 68.58 kB / 0.5019 GB, free: 3.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4077, allocations: 80.2 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003499/0.4112, allocations: 2.597 MB / 0.5827 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.4126, allocations: 0.9215 MB / 0.5836 GB, free: 2.062 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.4128, allocations: 11.53 kB / 0.5836 GB, free: 2.059 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.413, allocations: 62.61 kB / 0.5837 GB, free: 2.012 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.4132, allocations: 59 kB / 0.5838 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.4136, allocations: 239.2 kB / 0.584 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004403/0.4141, allocations: 454.3 kB / 0.5844 GB, free: 1.551 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003636/0.4145, allocations: 220.7 kB / 0.5846 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.4146, allocations: 145.8 kB / 0.5848 GB, free: 1.344 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.4148, allocations: 151.8 kB / 0.5849 GB, free: 1.246 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.008e-05/0.4149, allocations: 49.84 kB / 0.585 GB, free: 1.246 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.266e-05/0.415, allocations: 49.72 kB / 0.585 GB, free: 1.246 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.364e-05/0.415, allocations: 83.17 kB / 0.5851 GB, free: 1.184 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.4152, allocations: 206.4 kB / 0.5853 GB, free: 1.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006805/0.4159, allocations: 0.5968 MB / 0.5859 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.4159, allocations: 0 / 0.5859 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4159, allocations: 0.6875 kB / 0.5859 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.4159, allocations: 0 / 0.5859 GB, free: 0.7852 MB / 430.1 MB 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.0008439/0.4168, allocations: 0.6528 MB / 0.5865 GB, free: 240 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.4168, allocations: 14.78 kB / 0.5865 GB, free: 236 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.578e-05/0.4169, allocations: 61.2 kB / 0.5866 GB, free: 180 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.169e-05/0.417, allocations: 41.44 kB / 0.5866 GB, free: 160 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.4174, allocations: 374.3 kB / 0.587 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.4174, allocations: 28.38 kB / 0.587 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.435e-05/0.4175, allocations: 29.81 kB / 0.587 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005788/0.4181, allocations: 330.6 kB / 0.5873 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4181, allocations: 3.938 kB / 0.5873 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.4181, allocations: 11.06 kB / 0.5874 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.4181, allocations: 6.812 kB / 0.5874 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004985/0.4187, allocations: 234.2 kB / 0.5876 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.4203, allocations: 1.165 MB / 0.5887 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000508/0.4209, allocations: 230.3 kB / 0.5889 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.4211, allocations: 99.27 kB / 0.589 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.4211, allocations: 1.156 kB / 0.589 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.4211, allocations: 41.38 kB / 0.5891 GB, free: 14.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.4212, allocations: 0 / 0.5891 GB, free: 14.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006936/0.4219, allocations: 299.4 kB / 0.5894 GB, free: 14.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.4219, allocations: 79.44 kB / 0.5894 GB, free: 14.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.4223, allocations: 333.7 kB / 0.5898 GB, free: 14.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.4223, allocations: 31.39 kB / 0.5898 GB, free: 14.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.4225, allocations: 191.9 kB / 0.59 GB, free: 13.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/0.4226, allocations: 50.89 kB / 0.59 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.248e-05/0.4226, allocations: 51.5 kB / 0.5901 GB, free: 13.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.4228, allocations: 339.4 kB / 0.5904 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.423, allocations: 92.97 kB / 0.5905 GB, free: 13.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.4232, allocations: 118.5 kB / 0.5906 GB, free: 13.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003893/0.4236, allocations: 190.7 kB / 0.5908 GB, free: 13.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4236, allocations: 0 / 0.5908 GB, free: 13.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004782/0.4241, allocations: 255.1 kB / 0.591 GB, free: 13.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4242, allocations: 4.438 kB / 0.591 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4242, allocations: 9.766 kB / 0.591 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4242, allocations: 2.188 kB / 0.591 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.4244, allocations: 33.16 kB / 0.5911 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.4244, allocations: 5.031 kB / 0.5911 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.4245, allocations: 19.72 kB / 0.5911 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.4246, allocations: 12.31 kB / 0.5911 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002438/0.4248, allocations: 192.2 kB / 0.5913 GB, free: 12.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001658/0.425, allocations: 108.3 kB / 0.5914 GB, free: 12.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002653/0.4253, allocations: 160.8 kB / 0.5915 GB, free: 12.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.61e-07/0.4253, allocations: 4.875 kB / 0.5916 GB, free: 12.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003763/0.4257, allocations: 228.7 kB / 0.5918 GB, free: 12.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.255e-06/0.4257, allocations: 6.062 kB / 0.5918 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.4257, allocations: 6.031 kB / 0.5918 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-06/0.4257, allocations: 1.375 kB / 0.5918 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.4258, allocations: 29.19 kB / 0.5918 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.4258, allocations: 1.188 kB / 0.5918 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.4259, allocations: 22.62 kB / 0.5918 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.426, allocations: 5.141 kB / 0.5918 GB, free: 12.68 MB / 446.1 MB 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.0001111/0.4261, allocations: 193.1 kB / 0.592 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.4261, allocations: 29.44 kB / 0.592 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.689e-05/0.4262, allocations: 39.69 kB / 0.5921 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.4262, allocations: 2.141 kB / 0.5921 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4262, allocations: 5.125 kB / 0.5921 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4263, allocations: 0.6562 kB / 0.5921 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/0.4268, allocations: 405.7 kB / 0.5925 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.4268, allocations: 1.031 kB / 0.5925 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.427, allocations: 25.45 kB / 0.5925 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.427, allocations: 0 / 0.5925 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.427, allocations: 6.031 kB / 0.5925 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.427, allocations: 0.5625 kB / 0.5925 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.427, allocations: 9.938 kB / 0.5925 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007761/0.4278, allocations: 432.8 kB / 0.5929 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.428, allocations: 128.7 kB / 0.5931 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.428, allocations: 1.953 kB / 0.5931 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.4282, allocations: 20.62 kB / 0.5931 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.4282, allocations: 13.03 kB / 0.5931 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.4282, allocations: 8.125 kB / 0.5931 GB, free: 11.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002832/0.4285, allocations: 230.3 kB / 0.5933 GB, free: 11.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.4285, allocations: 0 / 0.5933 GB, free: 11.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004208/0.429, allocations: 96.03 kB / 0.5934 GB, free: 11.55 MB / 446.1 MB 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.0009634/0.4299, allocations: 0.9647 MB / 0.5944 GB, free: 10.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005967/0.4305, allocations: 289.3 kB / 0.5946 GB, free: 10.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4305, allocations: 320 / 0.5946 GB, free: 10.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.4307, allocations: 99.64 kB / 0.5947 GB, free: 10.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005878/0.4313, allocations: 82.67 kB / 0.5948 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004926/0.4363, allocations: 2.954 MB / 0.5977 GB, free: 8.629 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.4367, allocations: 0.7748 MB / 0.5984 GB, free: 7.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.4369, allocations: 24.69 kB / 0.5985 GB, free: 7.926 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.437, allocations: 102 kB / 0.5986 GB, free: 7.848 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.437, allocations: 0 / 0.5986 GB, free: 7.848 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.4633, allocations: 6.557 MB / 0.605 GB, free: 4.902 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.32/8.783, allocations: 2.922 kB / 0.605 GB, free: 4.902 MB / 446.1 MB (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)