Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IBPSA_latest_IBPSA_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.00146/0.00146, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5335/0.5335, allocations: 90.91 MB / 99.34 MB, free: 2.195 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 221.5 MB / 343.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 98.47 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.165e-05/2.168e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.159, allocations: 72.31 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5065/0.6656, allocations: 106.6 MB / 0.6578 GB, free: 3.418 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.6659, allocations: 84.33 kB / 0.6578 GB, free: 3.371 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01634/0.6822, allocations: 6.886 MB / 0.6646 GB, free: 13.84 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.6823, allocations: 4 kB / 0.6646 GB, free: 13.84 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.017e-05/0.6823, allocations: 7.938 kB / 0.6646 GB, free: 13.83 MB / 474.7 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.0008584/0.6832, allocations: 0.5542 MB / 0.6651 GB, free: 13.25 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.6833, allocations: 8.031 kB / 0.6651 GB, free: 13.24 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.181e-05/0.6834, allocations: 42.97 kB / 0.6652 GB, free: 13.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005096/0.6839, allocations: 380.8 kB / 0.6655 GB, free: 12.87 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.6839, allocations: 8 kB / 0.6655 GB, free: 12.86 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.684, allocations: 20 kB / 0.6656 GB, free: 12.84 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003462/0.6843, allocations: 189.4 kB / 0.6657 GB, free: 12.74 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004306/0.6848, allocations: 265.9 kB / 0.666 GB, free: 12.54 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.6848, allocations: 0 / 0.666 GB, free: 12.54 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.6848, allocations: 4 kB / 0.666 GB, free: 12.54 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.6848, allocations: 7.984 kB / 0.666 GB, free: 12.53 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.6864, allocations: 1.095 MB / 0.6671 GB, free: 11.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.6868, allocations: 195.7 kB / 0.6673 GB, free: 11.54 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.6869, allocations: 78.5 kB / 0.6673 GB, free: 11.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.687, allocations: 7.688 kB / 0.6673 GB, free: 11.49 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.687, allocations: 30.56 kB / 0.6674 GB, free: 11.45 MB / 474.7 MB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.687, allocations: 0 / 0.6674 GB, free: 11.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003974/0.6874, allocations: 181.8 kB / 0.6675 GB, free: 11.32 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.6875, allocations: 80.7 kB / 0.6676 GB, free: 11.23 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.6878, allocations: 232.5 kB / 0.6678 GB, free: 11.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.6878, allocations: 25.7 kB / 0.6679 GB, free: 11.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.688, allocations: 201.3 kB / 0.6681 GB, free: 10.85 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.688, allocations: 54.44 kB / 0.6681 GB, free: 10.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.688, allocations: 0 / 0.6681 GB, free: 10.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.6882, allocations: 337.3 kB / 0.6684 GB, free: 10.47 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.769e-05/0.6883, allocations: 63.88 kB / 0.6685 GB, free: 10.44 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.6885, allocations: 93.31 kB / 0.6686 GB, free: 10.37 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.6886, allocations: 74.12 kB / 0.6686 GB, free: 10.33 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6886, allocations: 0 / 0.6686 GB, free: 10.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002916/0.6889, allocations: 205.8 kB / 0.6688 GB, free: 10.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.6891, allocations: 278.4 kB / 0.6691 GB, free: 9.898 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.6891, allocations: 0 / 0.6691 GB, free: 9.898 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.6891, allocations: 0 / 0.6691 GB, free: 9.898 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.6893, allocations: 35.55 kB / 0.6691 GB, free: 9.867 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.6893, allocations: 7.953 kB / 0.6692 GB, free: 9.859 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.6894, allocations: 23.83 kB / 0.6692 GB, free: 9.836 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.6894, allocations: 4 kB / 0.6692 GB, free: 9.832 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.6895, allocations: 4 kB / 0.6692 GB, free: 9.828 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002142/0.6897, allocations: 139.8 kB / 0.6693 GB, free: 9.746 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-06/0.6897, allocations: 0 / 0.6693 GB, free: 9.746 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.597e-06/0.6897, allocations: 4 kB / 0.6693 GB, free: 9.742 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.6898, allocations: 31.48 kB / 0.6693 GB, free: 9.715 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.6898, allocations: 8.062 kB / 0.6694 GB, free: 9.707 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.218e-05/0.6899, allocations: 7.984 kB / 0.6694 GB, free: 9.699 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.69, allocations: 4 kB / 0.6694 GB, free: 9.695 MB / 474.7 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 (actSet.y,actAct.y,expMod.mod.conPI.I.local_reset) * Number of discrete 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 8.845e-05/0.69, allocations: 116.8 kB / 0.6695 GB, free: 9.574 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002611/0.6903, allocations: 177.4 kB / 0.6696 GB, free: 9.449 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.6904, allocations: 23.72 kB / 0.6697 GB, free: 9.426 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.649e-05/0.6905, allocations: 30.66 kB / 0.6697 GB, free: 9.406 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.6905, allocations: 0 / 0.6697 GB, free: 9.406 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6905, allocations: 8 kB / 0.6697 GB, free: 9.398 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.6905, allocations: 3.984 kB / 0.6697 GB, free: 9.395 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.6909, allocations: 361.4 kB / 0.6701 GB, free: 9.094 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.6909, allocations: 3.984 kB / 0.6701 GB, free: 9.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.6911, allocations: 31.92 kB / 0.6701 GB, free: 9.059 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.6911, allocations: 0 / 0.6701 GB, free: 9.059 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.6911, allocations: 3.062 kB / 0.6701 GB, free: 9.059 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.6911, allocations: 0 / 0.6701 GB, free: 9.059 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6911, allocations: 4 kB / 0.6701 GB, free: 9.055 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/0.6916, allocations: 375 kB / 0.6705 GB, free: 8.777 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.6918, allocations: 126.8 kB / 0.6706 GB, free: 8.652 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.6918, allocations: 4 kB / 0.6706 GB, free: 8.648 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.6919, allocations: 8 kB / 0.6706 GB, free: 8.641 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.692, allocations: 7.984 kB / 0.6706 GB, free: 8.633 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.692, allocations: 11.06 kB / 0.6706 GB, free: 8.625 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001749/0.6922, allocations: 187.4 kB / 0.6708 GB, free: 8.48 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6922, allocations: 4 kB / 0.6708 GB, free: 8.477 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003948/0.6926, allocations: 91.44 kB / 0.6709 GB, free: 8.387 MB / 474.7 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 (actSet.y,actAct.y) * Number of discrete 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.0007952/0.6934, allocations: 0.9137 MB / 0.6718 GB, free: 7.555 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003963/0.6938, allocations: 246.3 kB / 0.672 GB, free: 7.414 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6938, allocations: 4.125 kB / 0.672 GB, free: 7.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.694, allocations: 84.42 kB / 0.6721 GB, free: 7.359 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.6945, allocations: 55 kB / 0.6721 GB, free: 7.312 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.6957, allocations: 452 kB / 0.6726 GB, free: 6.891 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/0.6962, allocations: 0.7879 MB / 0.6733 GB, free: 6.078 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002184/0.6964, allocations: 31.38 kB / 0.6734 GB, free: 6.047 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.6966, allocations: 110.5 kB / 0.6735 GB, free: 6.016 MB / 474.7 MB Notification: Performance of SimCode: time 4.11e-07/0.6966, allocations: 0 / 0.6735 GB, free: 6.016 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.7252, allocations: 5.467 MB / 0.6788 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/0.7255, allocations: 139.7 kB / 0.6789 GB, free: 408 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.038/2.764, allocations: 0 / 0.6789 GB, free: 408 kB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)