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.0008283/0.0008282, allocations: 96.78 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.005513/0.005513, allocations: 171 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.383/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7603/0.7603, allocations: 132.3 MB / 423.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003494, allocations: 8.938 kB / 0.5041 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3861, allocations: 81.57 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002567/0.3887, allocations: 2.265 MB / 0.586 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.3901, allocations: 0.874 MB / 0.5868 GB, free: 1.785 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002144/0.3904, allocations: 10.91 kB / 0.5868 GB, free: 1.781 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.3906, allocations: 47.23 kB / 0.5869 GB, free: 1.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.3907, allocations: 48.69 kB / 0.5869 GB, free: 1.715 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000497/0.3912, allocations: 213.4 kB / 0.5871 GB, free: 1.566 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004448/0.3917, allocations: 408.3 kB / 0.5875 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003766/0.3921, allocations: 217 kB / 0.5877 GB, free: 1.234 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.3922, allocations: 87.55 kB / 0.5878 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.3923, allocations: 100.5 kB / 0.5879 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.3924, allocations: 7.156 kB / 0.5879 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.749e-05/0.3924, allocations: 6.688 kB / 0.5879 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.743e-05/0.3925, allocations: 45.31 kB / 0.5879 GB, free: 1.102 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.3926, allocations: 162.9 kB / 0.5881 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006607/0.3933, allocations: 0.5543 MB / 0.5886 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3933, allocations: 0 / 0.5886 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3933, allocations: 0 / 0.5886 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.956e-06/0.3933, allocations: 1.375 kB / 0.5886 GB, free: 0.8164 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.000798/0.3941, allocations: 0.5762 MB / 0.5892 GB, free: 332 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.3941, allocations: 9.375 kB / 0.5892 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.341e-05/0.3942, allocations: 66.25 kB / 0.5893 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.469e-05/0.3943, allocations: 40.61 kB / 0.5893 GB, free: 252 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004643/0.3948, allocations: 387.2 kB / 0.5897 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.3948, allocations: 20.28 kB / 0.5897 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.622e-05/0.3949, allocations: 26.19 kB / 0.5897 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006891/0.3956, allocations: 336.8 kB / 0.5901 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.3956, allocations: 7.938 kB / 0.5901 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.3957, allocations: 10.22 kB / 0.5901 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.3957, allocations: 7.375 kB / 0.5901 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006121/0.3963, allocations: 245.4 kB / 0.5903 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.3981, allocations: 1.177 MB / 0.5915 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005381/0.3987, allocations: 253.1 kB / 0.5917 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.3989, allocations: 105 kB / 0.5918 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.399, allocations: 1.375 kB / 0.5918 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.399, allocations: 40.72 kB / 0.5918 GB, free: 14.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.399, allocations: 0 / 0.5918 GB, free: 14.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007237/0.3997, allocations: 325.2 kB / 0.5922 GB, free: 14.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.3998, allocations: 79.73 kB / 0.5922 GB, free: 14.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.4002, allocations: 325.5 kB / 0.5925 GB, free: 14.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.4002, allocations: 31.08 kB / 0.5926 GB, free: 14.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.4004, allocations: 196.5 kB / 0.5928 GB, free: 13.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.824e-05/0.4005, allocations: 58 kB / 0.5928 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.4005, allocations: 22.52 kB / 0.5928 GB, free: 13.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4007, allocations: 344.1 kB / 0.5932 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.4009, allocations: 84.62 kB / 0.5932 GB, free: 13.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.4012, allocations: 129 kB / 0.5934 GB, free: 13.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004363/0.4016, allocations: 206.7 kB / 0.5936 GB, free: 13.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4016, allocations: 0 / 0.5936 GB, free: 13.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000559/0.4022, allocations: 269.2 kB / 0.5938 GB, free: 13.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.427e-05/0.4023, allocations: 105.8 kB / 0.5939 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.4023, allocations: 5.578 kB / 0.5939 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.4023, allocations: 0.875 kB / 0.5939 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.4025, allocations: 32.09 kB / 0.594 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4025, allocations: 8.719 kB / 0.594 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.4027, allocations: 28.39 kB / 0.594 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.4027, allocations: 8.141 kB / 0.594 GB, free: 13.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.743e-06/0.4027, allocations: 3.438 kB / 0.594 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003609/0.4031, allocations: 177.7 kB / 0.5942 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.4031, allocations: 0.7188 kB / 0.5942 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-06/0.4031, allocations: 6.172 kB / 0.5942 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.4032, allocations: 25.86 kB / 0.5942 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.4032, allocations: 0.625 kB / 0.5942 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.4034, allocations: 21.09 kB / 0.5942 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.4034, allocations: 12.77 kB / 0.5942 GB, free: 13 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.0002145/0.4036, allocations: 242.9 kB / 0.5945 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.424e-05/0.4037, allocations: 31.09 kB / 0.5945 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.184e-05/0.4038, allocations: 42.91 kB / 0.5945 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.4038, allocations: 2.75 kB / 0.5945 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.4038, allocations: 0.6562 kB / 0.5945 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4038, allocations: 0.6562 kB / 0.5945 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/0.4043, allocations: 410.2 kB / 0.5949 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.4043, allocations: 0 / 0.5949 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.4045, allocations: 30.27 kB / 0.595 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4045, allocations: 1.609 kB / 0.595 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.4045, allocations: 5.469 kB / 0.595 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.4045, allocations: 6.375 kB / 0.595 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4046, allocations: 4 kB / 0.595 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007794/0.4053, allocations: 456.6 kB / 0.5954 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.4055, allocations: 132.3 kB / 0.5955 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.4055, allocations: 5.656 kB / 0.5955 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.4057, allocations: 12.97 kB / 0.5956 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.4058, allocations: 11.83 kB / 0.5956 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.4058, allocations: 4.266 kB / 0.5956 GB, free: 12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002958/0.4061, allocations: 240 kB / 0.5958 GB, free: 11.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4061, allocations: 3.938 kB / 0.5958 GB, free: 11.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004326/0.4065, allocations: 91.28 kB / 0.5959 GB, free: 11.83 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.001055/0.4076, allocations: 0.9819 MB / 0.5969 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006328/0.4082, allocations: 293.7 kB / 0.5971 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4082, allocations: 0 / 0.5971 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.4085, allocations: 106.2 kB / 0.5972 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006479/0.4091, allocations: 80.89 kB / 0.5973 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/0.4139, allocations: 3.097 MB / 0.6003 GB, free: 8.805 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.4142, allocations: 0.7818 MB / 0.6011 GB, free: 8.098 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.4144, allocations: 25.23 kB / 0.6011 GB, free: 8.094 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.4146, allocations: 97.97 kB / 0.6012 GB, free: 8.02 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4146, allocations: 0 / 0.6012 GB, free: 8.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.4313, allocations: 6.145 MB / 0.6072 GB, free: 5.359 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/0.4315, allocations: 200.1 kB / 0.6074 GB, free: 5.098 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.232, allocations: 0 / 0.6074 GB, free: 5.098 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)