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.001377/0.001377, allocations: 97.91 kB / 15.05 MB, free: 1.105 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.001981/0.001981, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.318/2.318, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.118/1.118, allocations: 132.2 MB / 423.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006286/0.0006289, allocations: 12.94 kB / 0.5033 GB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8069/0.8075, allocations: 81.57 MB / 0.583 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004244/0.8118, allocations: 2.173 MB / 0.5851 GB, free: 2.461 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.814, allocations: 0.8372 MB / 0.5859 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003274/0.8144, allocations: 11.66 kB / 0.5859 GB, free: 1.855 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.338e-05/0.8145, allocations: 25.86 kB / 0.5859 GB, free: 1.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005488/0.815, allocations: 80.5 kB / 0.586 GB, free: 1.785 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006488/0.8157, allocations: 150.6 kB / 0.5862 GB, free: 1.707 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005995/0.8163, allocations: 247.8 kB / 0.5864 GB, free: 1.559 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000409/0.8168, allocations: 150.9 kB / 0.5865 GB, free: 1.492 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.8169, allocations: 86.23 kB / 0.5866 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.8172, allocations: 100.2 kB / 0.5867 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.315e-05/0.8172, allocations: 7.156 kB / 0.5867 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.934e-05/0.8173, allocations: 7.75 kB / 0.5867 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.409e-05/0.8173, allocations: 39.78 kB / 0.5868 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.278e-05/0.8174, allocations: 92.73 kB / 0.5869 GB, free: 1.281 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008418/0.8183, allocations: 0.4898 MB / 0.5873 GB, free: 1.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.8183, allocations: 1.188 kB / 0.5873 GB, free: 1.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.8183, allocations: 0 / 0.5873 GB, free: 1.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.8183, allocations: 0 / 0.5873 GB, free: 1.18 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.00122/0.8196, allocations: 0.5817 MB / 0.5879 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/0.8196, allocations: 8.75 kB / 0.5879 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.8198, allocations: 62.19 kB / 0.588 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.8199, allocations: 43.67 kB / 0.588 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006518/0.8205, allocations: 373 kB / 0.5884 GB, free: 300 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.736e-05/0.8206, allocations: 20.56 kB / 0.5884 GB, free: 288 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.899e-05/0.8207, allocations: 25.77 kB / 0.5884 GB, free: 280 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.8217, allocations: 331.3 kB / 0.5887 GB, free: 100 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.8218, allocations: 0.5625 kB / 0.5887 GB, free: 100 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.536e-05/0.8218, allocations: 10.75 kB / 0.5887 GB, free: 92 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.8218, allocations: 7.562 kB / 0.5888 GB, free: 92 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009707/0.8228, allocations: 251.9 kB / 0.589 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002951/0.8258, allocations: 1.168 MB / 0.5901 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.8269, allocations: 254.9 kB / 0.5904 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.827, allocations: 2.344 kB / 0.5904 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.55e-05/0.8271, allocations: 36.62 kB / 0.5904 GB, free: 15.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 4.368e-06/0.8271, allocations: 0 / 0.5904 GB, free: 15.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001332/0.8284, allocations: 327.4 kB / 0.5907 GB, free: 14.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.169e-05/0.8285, allocations: 80.66 kB / 0.5908 GB, free: 14.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006833/0.8292, allocations: 326.3 kB / 0.5911 GB, free: 14.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.162e-05/0.8293, allocations: 27.05 kB / 0.5911 GB, free: 14.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.8296, allocations: 197.2 kB / 0.5913 GB, free: 14.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.252e-05/0.8297, allocations: 54.19 kB / 0.5914 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/0.8297, allocations: 4 kB / 0.5914 GB, free: 14.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003082/0.83, allocations: 343.5 kB / 0.5917 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.8304, allocations: 84.45 kB / 0.5918 GB, free: 14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/0.8308, allocations: 116.9 kB / 0.5919 GB, free: 13.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.8312, allocations: 100.2 kB / 0.592 GB, free: 13.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.8312, allocations: 0 / 0.592 GB, free: 13.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009031/0.8321, allocations: 271.6 kB / 0.5923 GB, free: 13.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002285/0.8324, allocations: 279.1 kB / 0.5925 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.8324, allocations: 0 / 0.5925 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.8324, allocations: 6.094 kB / 0.5925 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.8327, allocations: 30.73 kB / 0.5926 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.8328, allocations: 2.75 kB / 0.5926 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.833, allocations: 30.67 kB / 0.5926 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.8331, allocations: 8.844 kB / 0.5926 GB, free: 13.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.8331, allocations: 3.375 kB / 0.5926 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005722/0.8337, allocations: 178.5 kB / 0.5928 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.8337, allocations: 4.797 kB / 0.5928 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.8337, allocations: 2.562 kB / 0.5928 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.834, allocations: 28.09 kB / 0.5928 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.834, allocations: 2.906 kB / 0.5928 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.8342, allocations: 19.95 kB / 0.5928 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.8342, allocations: 16.91 kB / 0.5928 GB, free: 13.34 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.oveWriSet_activate,expMod.oveWriAct_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004466/0.8347, allocations: 238.9 kB / 0.5931 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.8348, allocations: 33.52 kB / 0.5931 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.835, allocations: 36.53 kB / 0.5931 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.835, allocations: 1.906 kB / 0.5931 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.835, allocations: 0.5156 kB / 0.5931 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.835, allocations: 5.625 kB / 0.5931 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.8361, allocations: 405.9 kB / 0.5935 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.8361, allocations: 0 / 0.5935 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.8364, allocations: 34.72 kB / 0.5936 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.8365, allocations: 5.859 kB / 0.5936 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.8365, allocations: 4.875 kB / 0.5936 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.8365, allocations: 0.9375 kB / 0.5936 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.8365, allocations: 1.984 kB / 0.5936 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.8379, allocations: 451.9 kB / 0.594 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.8381, allocations: 125.1 kB / 0.5941 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.945e-05/0.8382, allocations: 6.094 kB / 0.5941 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.8385, allocations: 19.97 kB / 0.5942 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.8386, allocations: 9.234 kB / 0.5942 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.8386, allocations: 7.25 kB / 0.5942 GB, free: 12.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000476/0.8391, allocations: 229.6 kB / 0.5944 GB, free: 12.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.8391, allocations: 0 / 0.5944 GB, free: 12.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007681/0.8399, allocations: 96.12 kB / 0.5945 GB, free: 12.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001765/0.8417, allocations: 0.9852 MB / 0.5954 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.843, allocations: 299.1 kB / 0.5957 GB, free: 11.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.843, allocations: 4 kB / 0.5957 GB, free: 11.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003803/0.8434, allocations: 101.8 kB / 0.5958 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009507/0.8444, allocations: 79.16 kB / 0.5959 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006414/0.8508, allocations: 2.068 MB / 0.5979 GB, free: 9.918 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007199/0.8515, allocations: 0.7856 MB / 0.5987 GB, free: 9.215 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003237/0.8519, allocations: 33.59 kB / 0.5987 GB, free: 9.203 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000287/0.8522, allocations: 97.55 kB / 0.5988 GB, free: 9.129 MB / 446.1 MB Notification: Performance of SimCode: time 1.383e-06/0.8522, allocations: 0 / 0.5988 GB, free: 9.129 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03067/0.8829, allocations: 6.015 MB / 0.6047 GB, free: 6.656 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003277/0.8833, allocations: 185.5 kB / 0.6049 GB, free: 6.414 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.707/3.591, allocations: 0 / 0.6049 GB, free: 6.414 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/linux/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) Environment - environmentSimulation: