Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.Time.Examples.ModelTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_IDEAS_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.001088/0.001088, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7643/0.7643, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 56.78 kB / 0.5019 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4001, allocations: 80.2 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001643/0.4018, allocations: 0.5839 MB / 0.5808 GB, free: 4.207 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 3.539e-05/0.4018, allocations: 0.6094 kB / 0.5808 GB, free: 4.207 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.658e-05/0.4018, allocations: 0 / 0.5808 GB, free: 4.207 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.268e-05/0.4019, allocations: 0.75 kB / 0.5808 GB, free: 4.207 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.12e-06/0.4019, allocations: 0 / 0.5808 GB, free: 4.207 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.313e-05/0.4019, allocations: 0.75 kB / 0.5808 GB, free: 4.207 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.404e-05/0.402, allocations: 5.938 kB / 0.5808 GB, free: 4.203 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.402, allocations: 5.891 kB / 0.5808 GB, free: 4.199 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.254e-05/0.402, allocations: 0 / 0.5808 GB, free: 4.199 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.559e-05/0.4021, allocations: 1.219 kB / 0.5808 GB, free: 4.199 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.4021, allocations: 3.938 kB / 0.5808 GB, free: 4.195 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.116e-06/0.4021, allocations: 3.938 kB / 0.5808 GB, free: 4.191 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.4021, allocations: 0.7188 kB / 0.5808 GB, free: 4.191 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.971e-05/0.4021, allocations: 0.6875 kB / 0.5808 GB, free: 4.191 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 4.672e-05/0.4022, allocations: 4.547 kB / 0.5808 GB, free: 4.188 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4022, allocations: 2.125 kB / 0.5808 GB, free: 4.188 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4022, allocations: 4 kB / 0.5808 GB, free: 4.184 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.4022, allocations: 0 / 0.5808 GB, free: 4.184 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001917/0.4024, allocations: 307.8 kB / 0.5811 GB, free: 3.836 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.4024, allocations: 9.531 kB / 0.5811 GB, free: 3.836 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.489e-05/0.4025, allocations: 36.73 kB / 0.5811 GB, free: 3.793 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.951e-05/0.4025, allocations: 0.9375 kB / 0.5811 GB, free: 3.793 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.547e-05/0.4026, allocations: 165.6 kB / 0.5813 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.4026, allocations: 1.531 kB / 0.5813 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-06/0.4026, allocations: 384 / 0.5813 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.57e-05/0.4027, allocations: 37.11 kB / 0.5813 GB, free: 3.555 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.4027, allocations: 3.938 kB / 0.5813 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.4027, allocations: 1.094 kB / 0.5813 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.4027, allocations: 0.5625 kB / 0.5813 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.864e-05/0.4027, allocations: 4.656 kB / 0.5813 GB, free: 3.547 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001024/0.4028, allocations: 145.4 kB / 0.5815 GB, free: 3.359 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.323e-05/0.4029, allocations: 19.86 kB / 0.5815 GB, free: 3.332 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.181e-05/0.4029, allocations: 12.34 kB / 0.5815 GB, free: 3.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.73e-06/0.4029, allocations: 0 / 0.5815 GB, free: 3.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.4029, allocations: 32.19 kB / 0.5815 GB, free: 3.281 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.403, allocations: 0.5312 kB / 0.5815 GB, free: 3.281 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001104/0.4031, allocations: 39.17 kB / 0.5816 GB, free: 3.242 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.4031, allocations: 57.05 kB / 0.5816 GB, free: 3.176 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.612e-05/0.4031, allocations: 89.86 kB / 0.5817 GB, free: 3.078 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.46e-06/0.4031, allocations: 27.08 kB / 0.5817 GB, free: 3.047 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.049e-05/0.4031, allocations: 84.27 kB / 0.5818 GB, free: 2.961 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.4032, allocations: 4.562 kB / 0.5818 GB, free: 2.957 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.4032, allocations: 12.47 kB / 0.5818 GB, free: 2.941 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.764e-05/0.4033, allocations: 311.5 kB / 0.5821 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.427e-06/0.4033, allocations: 2.031 kB / 0.5821 GB, free: 2.629 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.95e-06/0.4033, allocations: 1.375 kB / 0.5821 GB, free: 2.629 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.18e-05/0.4033, allocations: 11.61 kB / 0.5821 GB, free: 2.617 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.4033, allocations: 4.766 kB / 0.5821 GB, free: 2.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.049e-05/0.4034, allocations: 35.45 kB / 0.5822 GB, free: 2.578 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.4034, allocations: 11.42 kB / 0.5822 GB, free: 2.574 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4034, allocations: 3.938 kB / 0.5822 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.4034, allocations: 2.078 kB / 0.5822 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.199e-05/0.4035, allocations: 4.688 kB / 0.5822 GB, free: 2.566 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.4035, allocations: 0.7031 kB / 0.5822 GB, free: 2.566 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.227e-06/0.4035, allocations: 0.5625 kB / 0.5822 GB, free: 2.566 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.4035, allocations: 0.5312 kB / 0.5822 GB, free: 2.566 MB / 430.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 4.494e-05/0.4035, allocations: 113.8 kB / 0.5823 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-06/0.4035, allocations: 1.25 kB / 0.5823 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.569e-05/0.4036, allocations: 11.06 kB / 0.5823 GB, free: 2.438 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.4036, allocations: 1.375 kB / 0.5823 GB, free: 2.438 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4036, allocations: 0.6562 kB / 0.5823 GB, free: 2.438 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.4036, allocations: 0 / 0.5823 GB, free: 2.438 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.415e-05/0.4036, allocations: 152.1 kB / 0.5825 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.4037, allocations: 0 / 0.5825 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.699e-06/0.4037, allocations: 2.375 kB / 0.5825 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.4037, allocations: 0 / 0.5825 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.4037, allocations: 8.656 kB / 0.5825 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4037, allocations: 0.7031 kB / 0.5825 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4037, allocations: 5.141 kB / 0.5825 GB, free: 2.234 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.893e-05/0.4037, allocations: 60.72 kB / 0.5825 GB, free: 2.164 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.758e-05/0.4038, allocations: 77.77 kB / 0.5826 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.4038, allocations: 5.547 kB / 0.5826 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-06/0.4038, allocations: 4 kB / 0.5826 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.104e-05/0.4038, allocations: 5.344 kB / 0.5826 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.4038, allocations: 0.7812 kB / 0.5826 GB, free: 2.059 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.283e-05/0.4038, allocations: 75.28 kB / 0.5827 GB, free: 1.984 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4038, allocations: 0 / 0.5827 GB, free: 1.984 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001937/0.404, allocations: 1.781 kB / 0.5827 GB, free: 1.984 MB / 430.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.0002072/0.4042, allocations: 0.5951 MB / 0.5833 GB, free: 1.383 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.195e-05/0.4043, allocations: 4.375 kB / 0.5833 GB, free: 1.383 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.4043, allocations: 0 / 0.5833 GB, free: 1.383 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.572e-06/0.4043, allocations: 2.156 kB / 0.5833 GB, free: 1.383 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.4045, allocations: 4.141 kB / 0.5833 GB, free: 1.383 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.4047, allocations: 103.4 kB / 0.5834 GB, free: 1.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.946e-05/0.4049, allocations: 0.6709 MB / 0.5841 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.062e-05/0.4049, allocations: 8.672 kB / 0.5841 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.617e-05/0.4049, allocations: 8.844 kB / 0.5841 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4049, allocations: 0 / 0.5841 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03497/0.4399, allocations: 0.8479 MB / 0.5849 GB, free: 212 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/8.114, allocations: 5.641 kB / 0.5849 GB, free: 212 kB / 430.1 MB (rm -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)