Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009104/0.009104, allocations: 169.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8952/0.8952, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 223.2 MB / 406.8 MB, free: 3.207 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009071/0.0009068, allocations: 101 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003278, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4245, allocations: 82.31 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1586/0.5831, allocations: 117.2 MB / 0.7639 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.5834, allocations: 91.94 kB / 0.764 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01607/0.5995, allocations: 6.946 MB / 0.7708 GB, free: 7.723 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5996, allocations: 0 / 0.7708 GB, free: 7.723 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.752e-05/0.5996, allocations: 4 kB / 0.7708 GB, free: 7.719 MB / 0.5417 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.000837/0.6004, allocations: 0.5959 MB / 0.7714 GB, free: 7.074 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.6005, allocations: 8.031 kB / 0.7714 GB, free: 7.066 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.172e-05/0.6006, allocations: 66.53 kB / 0.7715 GB, free: 6.992 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.244e-05/0.6007, allocations: 43.48 kB / 0.7715 GB, free: 6.949 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005302/0.6012, allocations: 386.7 kB / 0.7719 GB, free: 6.535 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.6012, allocations: 25 kB / 0.7719 GB, free: 6.508 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.6013, allocations: 24 kB / 0.7719 GB, free: 6.484 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006148/0.6019, allocations: 325.4 kB / 0.7722 GB, free: 6.152 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.6019, allocations: 0 / 0.7722 GB, free: 6.152 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.602, allocations: 19.94 kB / 0.7723 GB, free: 6.133 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.602, allocations: 4 kB / 0.7723 GB, free: 6.129 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004773/0.6025, allocations: 250.1 kB / 0.7725 GB, free: 5.887 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.6039, allocations: 1.159 MB / 0.7736 GB, free: 4.668 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005548/0.6045, allocations: 254.8 kB / 0.7739 GB, free: 4.41 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.6045, allocations: 3.984 kB / 0.7739 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.6046, allocations: 46.44 kB / 0.7739 GB, free: 4.352 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.6046, allocations: 0 / 0.7739 GB, free: 4.352 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.0006999/0.6053, allocations: 320.6 kB / 0.7742 GB, free: 4.035 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.6053, allocations: 77.11 kB / 0.7743 GB, free: 3.941 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.6057, allocations: 291.7 kB / 0.7746 GB, free: 3.652 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.6058, allocations: 25.7 kB / 0.7746 GB, free: 3.621 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.6059, allocations: 200 kB / 0.7748 GB, free: 3.422 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.865e-05/0.606, allocations: 51.27 kB / 0.7748 GB, free: 3.371 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/0.606, allocations: 4 kB / 0.7748 GB, free: 3.367 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6061, allocations: 338.8 kB / 0.7752 GB, free: 3.027 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.6063, allocations: 83.97 kB / 0.7752 GB, free: 2.945 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.6065, allocations: 129.4 kB / 0.7754 GB, free: 2.809 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.6067, allocations: 93.06 kB / 0.7755 GB, free: 2.719 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.6068, allocations: 0 / 0.7755 GB, free: 2.719 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004726/0.6072, allocations: 266.3 kB / 0.7757 GB, free: 2.453 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.6074, allocations: 275.1 kB / 0.776 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6074, allocations: 0 / 0.776 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.6074, allocations: 0 / 0.776 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.6076, allocations: 35.98 kB / 0.776 GB, free: 2.129 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.6076, allocations: 3.938 kB / 0.776 GB, free: 2.125 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.6077, allocations: 35.78 kB / 0.776 GB, free: 2.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.6078, allocations: 7.984 kB / 0.7761 GB, free: 2.082 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.861e-06/0.6078, allocations: 4 kB / 0.7761 GB, free: 2.078 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003161/0.6081, allocations: 177 kB / 0.7762 GB, free: 1.906 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-06/0.6081, allocations: 0 / 0.7762 GB, free: 1.906 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.897e-06/0.6081, allocations: 4 kB / 0.7762 GB, free: 1.902 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.6083, allocations: 20 kB / 0.7763 GB, free: 1.883 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.6083, allocations: 11.98 kB / 0.7763 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.6084, allocations: 27.77 kB / 0.7763 GB, free: 1.844 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.6084, allocations: 11.94 kB / 0.7763 GB, free: 1.832 MB / 0.5417 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 (actSet.y,actAct.y,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.0002073/0.6086, allocations: 237.1 kB / 0.7765 GB, free: 1.59 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.935e-05/0.6087, allocations: 31.58 kB / 0.7766 GB, free: 1.559 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.418e-05/0.6088, allocations: 35.28 kB / 0.7766 GB, free: 1.523 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.6088, allocations: 0 / 0.7766 GB, free: 1.523 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.6088, allocations: 0 / 0.7766 GB, free: 1.523 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.6088, allocations: 7.984 kB / 0.7766 GB, free: 1.516 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.6092, allocations: 409.3 kB / 0.777 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6092, allocations: 0 / 0.777 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.6094, allocations: 31.92 kB / 0.777 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.6095, allocations: 3.953 kB / 0.777 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.6095, allocations: 8 kB / 0.777 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6095, allocations: 0 / 0.777 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6095, allocations: 3.938 kB / 0.777 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007/0.6102, allocations: 447 kB / 0.7775 GB, free: 0.5664 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.6103, allocations: 136.8 kB / 0.7776 GB, free: 424 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.6104, allocations: 11.94 kB / 0.7776 GB, free: 412 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.6105, allocations: 12 kB / 0.7776 GB, free: 400 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.6106, allocations: 7.984 kB / 0.7776 GB, free: 392 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.6106, allocations: 4 kB / 0.7776 GB, free: 388 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002379/0.6109, allocations: 235.1 kB / 0.7778 GB, free: 152 kB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6109, allocations: 3.938 kB / 0.7779 GB, free: 148 kB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004033/0.6113, allocations: 95.67 kB / 0.7779 GB, free: 52 kB / 0.5417 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 (actSet.y,actAct.y) * 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.001015/0.6123, allocations: 0.9856 MB / 0.7789 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005854/0.6129, allocations: 296 kB / 0.7792 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6129, allocations: 0 / 0.7792 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.6131, allocations: 99.91 kB / 0.7793 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.6136, allocations: 73.45 kB / 0.7794 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.6166, allocations: 2.094 MB / 0.7814 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.617, allocations: 0.7872 MB / 0.7822 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001465/0.6172, allocations: 26.27 kB / 0.7822 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.6173, allocations: 107.4 kB / 0.7823 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of SimCode: time 4.61e-07/0.6173, allocations: 0 / 0.7823 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01802/0.6354, allocations: 6.061 MB / 0.7882 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/0.6356, allocations: 174.5 kB / 0.7884 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.139/2.775, allocations: 0 / 0.7884 GB, free: 5.332 MB / 0.5573 GB (rm -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)