Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",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.001314/0.001314, allocations: 101.5 kB / 16.27 MB, free: 5.93 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.001216/0.001216, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.366/1.366, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7948/0.7948, allocations: 122.8 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 55.91 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3927, allocations: 77.93 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.002/0.3948, allocations: 0.5716 MB / 0.5678 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 3.946e-05/0.3948, allocations: 5.125 kB / 0.5678 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.759e-05/0.3949, allocations: 0.5625 kB / 0.5678 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.497e-05/0.3949, allocations: 4.562 kB / 0.5679 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.298e-06/0.3949, allocations: 0 / 0.5679 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.288e-05/0.395, allocations: 2.875 kB / 0.5679 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.491e-05/0.395, allocations: 1.125 kB / 0.5679 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.56e-05/0.3951, allocations: 6.203 kB / 0.5679 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.686e-05/0.3951, allocations: 0 / 0.5679 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.941e-05/0.3951, allocations: 1.797 kB / 0.5679 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.3951, allocations: 0 / 0.5679 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.068e-06/0.3951, allocations: 3.938 kB / 0.5679 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.3952, allocations: 5.797 kB / 0.5679 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.3952, allocations: 0 / 0.5679 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.916e-05/0.3953, allocations: 10.17 kB / 0.5679 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3953, allocations: 1.031 kB / 0.5679 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3953, allocations: 0 / 0.5679 GB, free: 32.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.3953, allocations: 0 / 0.5679 GB, free: 32.35 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002843/0.3956, allocations: 311 kB / 0.5682 GB, free: 32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.3956, allocations: 9.625 kB / 0.5682 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.3957, allocations: 33.59 kB / 0.5682 GB, free: 31.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.305e-05/0.3957, allocations: 0.9375 kB / 0.5682 GB, free: 31.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.644e-05/0.3958, allocations: 161.7 kB / 0.5684 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.3958, allocations: 1.469 kB / 0.5684 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-06/0.3958, allocations: 1.5 kB / 0.5684 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.3959, allocations: 36.67 kB / 0.5684 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.396, allocations: 6.312 kB / 0.5684 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.396, allocations: 4.641 kB / 0.5684 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.396, allocations: 0 / 0.5684 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.963e-05/0.396, allocations: 1.562 kB / 0.5684 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.3961, allocations: 146.4 kB / 0.5686 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.985e-05/0.3962, allocations: 16.67 kB / 0.5686 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.3e-05/0.3962, allocations: 15.56 kB / 0.5686 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.3962, allocations: 0 / 0.5686 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.3963, allocations: 36.23 kB / 0.5686 GB, free: 31.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.3963, allocations: 0 / 0.5686 GB, free: 31.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001409/0.3964, allocations: 36.08 kB / 0.5687 GB, free: 31.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.3965, allocations: 53.31 kB / 0.5687 GB, free: 31.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.883e-05/0.3965, allocations: 89.86 kB / 0.5688 GB, free: 31.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.3965, allocations: 26.64 kB / 0.5688 GB, free: 31.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.176e-05/0.3965, allocations: 82.23 kB / 0.5689 GB, free: 31.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.3966, allocations: 4.625 kB / 0.5689 GB, free: 31.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.3966, allocations: 17.08 kB / 0.5689 GB, free: 31.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.302e-05/0.3967, allocations: 312.9 kB / 0.5692 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.928e-06/0.3967, allocations: 1.062 kB / 0.5692 GB, free: 30.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.76e-06/0.3967, allocations: 2.75 kB / 0.5692 GB, free: 30.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.366e-05/0.3967, allocations: 10.83 kB / 0.5692 GB, free: 30.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3967, allocations: 5.719 kB / 0.5692 GB, free: 30.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.504e-05/0.3968, allocations: 36.89 kB / 0.5693 GB, free: 30.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3968, allocations: 9.531 kB / 0.5693 GB, free: 30.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.3968, allocations: 4.547 kB / 0.5693 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3969, allocations: 1.312 kB / 0.5693 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.515e-05/0.3969, allocations: 2.922 kB / 0.5693 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3969, allocations: 3.938 kB / 0.5693 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.014e-05/0.397, allocations: 1.219 kB / 0.5693 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.397, allocations: 0.8438 kB / 0.5693 GB, free: 30.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.36e-05/0.397, allocations: 108.2 kB / 0.5694 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-06/0.397, allocations: 2.016 kB / 0.5694 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.78e-05/0.3971, allocations: 8.219 kB / 0.5694 GB, free: 30.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.3971, allocations: 1.25 kB / 0.5694 GB, free: 30.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3971, allocations: 1.25 kB / 0.5694 GB, free: 30.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3971, allocations: 5.891 kB / 0.5694 GB, free: 30.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.26e-05/0.3972, allocations: 146.7 kB / 0.5696 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3972, allocations: 1.812 kB / 0.5696 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.245e-06/0.3972, allocations: 1.156 kB / 0.5696 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3972, allocations: 1.812 kB / 0.5696 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.3972, allocations: 3.938 kB / 0.5696 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3972, allocations: 1.312 kB / 0.5696 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3972, allocations: 1.25 kB / 0.5696 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.581e-05/0.3973, allocations: 57.19 kB / 0.5696 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.3973, allocations: 80.59 kB / 0.5697 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.3973, allocations: 3.938 kB / 0.5697 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-06/0.3973, allocations: 1.781 kB / 0.5697 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-06/0.3973, allocations: 1.391 kB / 0.5697 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-06/0.3973, allocations: 1.062 kB / 0.5697 GB, free: 30.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.416e-05/0.3974, allocations: 76.25 kB / 0.5698 GB, free: 30.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3974, allocations: 0 / 0.5698 GB, free: 30.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002145/0.3976, allocations: 6.688 kB / 0.5698 GB, free: 30.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0002332/0.3978, allocations: 0.5936 MB / 0.5704 GB, free: 29.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.32e-05/0.3979, allocations: 3.766 kB / 0.5704 GB, free: 29.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3979, allocations: 0.9062 kB / 0.5704 GB, free: 29.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.172e-06/0.3979, allocations: 6.938 kB / 0.5704 GB, free: 29.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.3981, allocations: 4.219 kB / 0.5704 GB, free: 29.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002759/0.3984, allocations: 104.2 kB / 0.5705 GB, free: 29.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.3985, allocations: 0.6709 MB / 0.5711 GB, free: 28.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.343e-05/0.3985, allocations: 4.547 kB / 0.5711 GB, free: 28.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.107e-05/0.3985, allocations: 8.531 kB / 0.5712 GB, free: 28.75 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3985, allocations: 0 / 0.5712 GB, free: 28.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.4168, allocations: 0.8566 MB / 0.572 GB, free: 28.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.67/8.087, allocations: 6.047 kB / 0.572 GB, free: 28.42 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime.fmu > IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1)