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: translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008751/0.0008753, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.007564/0.007564, allocations: 170.2 kB / 16.27 MB, free: 6.652 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.373/1.373, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7665/0.7665, allocations: 132.4 MB / 423.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003573, allocations: 8 kB / 0.504 GB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4115, allocations: 81.57 MB / 0.5837 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.00257/0.4141, allocations: 2.265 MB / 0.5859 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.4153, allocations: 0.8723 MB / 0.5867 GB, free: 1.758 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.4155, allocations: 10.34 kB / 0.5867 GB, free: 1.754 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.4157, allocations: 46.44 kB / 0.5868 GB, free: 1.723 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.4158, allocations: 50.08 kB / 0.5868 GB, free: 1.684 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.4162, allocations: 217.1 kB / 0.587 GB, free: 1.535 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.4166, allocations: 411.5 kB / 0.5874 GB, free: 1.316 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003211/0.417, allocations: 213.6 kB / 0.5876 GB, free: 1.203 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.4171, allocations: 91.38 kB / 0.5877 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.4172, allocations: 99.77 kB / 0.5878 GB, free: 1.094 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/0.4173, allocations: 7.906 kB / 0.5878 GB, free: 1.094 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.708e-05/0.4173, allocations: 7.438 kB / 0.5878 GB, free: 1.094 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.124e-05/0.4173, allocations: 35.61 kB / 0.5879 GB, free: 1.074 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.343e-05/0.4174, allocations: 164.5 kB / 0.588 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005499/0.418, allocations: 0.5568 MB / 0.5886 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.418, allocations: 3.938 kB / 0.5886 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.418, allocations: 0.5938 kB / 0.5886 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.418, allocations: 4 kB / 0.5886 GB, free: 0.7773 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.0007218/0.4187, allocations: 0.5731 MB / 0.5891 GB, free: 296 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.4188, allocations: 9.812 kB / 0.5891 GB, free: 296 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.378e-05/0.4189, allocations: 49.06 kB / 0.5892 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.4193, allocations: 382.8 kB / 0.5896 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.4193, allocations: 23.66 kB / 0.5896 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/0.4194, allocations: 30.98 kB / 0.5896 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006374/0.42, allocations: 340.4 kB / 0.5899 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4201, allocations: 0 / 0.5899 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.4201, allocations: 10.91 kB / 0.5899 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.4201, allocations: 6.656 kB / 0.5899 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005369/0.4206, allocations: 245.8 kB / 0.5902 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.4223, allocations: 1.177 MB / 0.5913 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005376/0.4228, allocations: 254 kB / 0.5916 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.423, allocations: 100.3 kB / 0.5917 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.4231, allocations: 1.375 kB / 0.5917 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.4231, allocations: 40.55 kB / 0.5917 GB, free: 14.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.233e-06/0.4231, allocations: 1.25 kB / 0.5917 GB, free: 14.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007193/0.4238, allocations: 316.8 kB / 0.592 GB, free: 14.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.4239, allocations: 78.58 kB / 0.5921 GB, free: 14.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003939/0.4243, allocations: 334.3 kB / 0.5924 GB, free: 14.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.4243, allocations: 30.73 kB / 0.5924 GB, free: 14.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.4245, allocations: 199.8 kB / 0.5926 GB, free: 13.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.224e-05/0.4246, allocations: 50.48 kB / 0.5927 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.4246, allocations: 27.5 kB / 0.5927 GB, free: 13.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4247, allocations: 338.8 kB / 0.593 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.425, allocations: 94.56 kB / 0.5931 GB, free: 13.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.4252, allocations: 124.3 kB / 0.5932 GB, free: 13.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004331/0.4256, allocations: 201.5 kB / 0.5934 GB, free: 13.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4257, allocations: 0 / 0.5934 GB, free: 13.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005409/0.4262, allocations: 274.1 kB / 0.5937 GB, free: 13.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.725e-05/0.4263, allocations: 105.5 kB / 0.5938 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4263, allocations: 1.375 kB / 0.5938 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.4263, allocations: 6.016 kB / 0.5938 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.4265, allocations: 35.52 kB / 0.5938 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.4265, allocations: 0.9062 kB / 0.5938 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.4267, allocations: 24.08 kB / 0.5938 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.4267, allocations: 12.03 kB / 0.5939 GB, free: 13.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.198e-06/0.4267, allocations: 4.094 kB / 0.5939 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003423/0.4271, allocations: 180 kB / 0.594 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.4271, allocations: 5.312 kB / 0.594 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.637e-06/0.4271, allocations: 2.172 kB / 0.594 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.4272, allocations: 28.33 kB / 0.5941 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.4272, allocations: 1.969 kB / 0.5941 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.4274, allocations: 20.97 kB / 0.5941 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.4274, allocations: 8.312 kB / 0.5941 GB, free: 13.03 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.0002127/0.4276, allocations: 248.4 kB / 0.5943 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.11e-05/0.4277, allocations: 30.67 kB / 0.5944 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.437e-05/0.4278, allocations: 34.95 kB / 0.5944 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.4278, allocations: 6.469 kB / 0.5944 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4278, allocations: 0.6094 kB / 0.5944 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.4278, allocations: 1.734 kB / 0.5944 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004837/0.4283, allocations: 409.5 kB / 0.5948 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4283, allocations: 4 kB / 0.5948 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.4285, allocations: 30.52 kB / 0.5948 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.4285, allocations: 9.875 kB / 0.5948 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.4285, allocations: 5.562 kB / 0.5948 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.4285, allocations: 0.5625 kB / 0.5948 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4285, allocations: 1.75 kB / 0.5948 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007789/0.4293, allocations: 453.3 kB / 0.5953 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.4295, allocations: 133.3 kB / 0.5954 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.4295, allocations: 2.438 kB / 0.5954 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.4297, allocations: 18.75 kB / 0.5954 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.4297, allocations: 10.25 kB / 0.5954 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.4298, allocations: 2.656 kB / 0.5954 GB, free: 12.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002898/0.4301, allocations: 235.3 kB / 0.5957 GB, free: 11.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4301, allocations: 1.219 kB / 0.5957 GB, free: 11.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004323/0.4305, allocations: 95.84 kB / 0.5958 GB, free: 11.86 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.0001154/0.4306, allocations: 102.7 kB / 0.5959 GB, free: 11.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006632/0.4313, allocations: 295 kB / 0.5961 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4313, allocations: 5.125 kB / 0.5961 GB, free: 11.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.4315, allocations: 108.2 kB / 0.5962 GB, free: 11.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006429/0.4322, allocations: 72.77 kB / 0.5963 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.4334, allocations: 0.6826 MB / 0.597 GB, free: 11.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.4338, allocations: 0.7781 MB / 0.5977 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001587/0.434, allocations: 28.91 kB / 0.5978 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.112e-05/0.434, allocations: 21.3 kB / 0.5978 GB, free: 10.41 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4341, allocations: 0 / 0.5978 GB, free: 10.41 MB / 446.1 MB Notification: Performance of Templates: time 0.007068/0.4411, allocations: 2.93 MB / 0.6006 GB, free: 9.348 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (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 & ./IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)