Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",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.0009277/0.0009276, allocations: 98.27 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.005491/0.005491, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.271/1.271, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7239/0.7239, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003082, allocations: 8 kB / 0.5041 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3429, allocations: 81.58 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001788/0.3448, allocations: 1.192 MB / 0.5849 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006499/0.3455, allocations: 436.6 kB / 0.5853 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/0.3455, allocations: 2.469 kB / 0.5853 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.3455, allocations: 5.109 kB / 0.5853 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.6e-05/0.3456, allocations: 8.812 kB / 0.5853 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.3457, allocations: 23.02 kB / 0.5854 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.705e-05/0.3458, allocations: 51.67 kB / 0.5854 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.802e-05/0.3459, allocations: 9.938 kB / 0.5854 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.632e-05/0.346, allocations: 19.92 kB / 0.5854 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.558e-05/0.346, allocations: 18.42 kB / 0.5855 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.3461, allocations: 2.406 kB / 0.5855 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.428e-06/0.3461, allocations: 1.188 kB / 0.5855 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.3461, allocations: 12.81 kB / 0.5855 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.3461, allocations: 49.8 kB / 0.5855 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.896e-05/0.3462, allocations: 34.92 kB / 0.5855 GB, free: 2.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3462, allocations: 0 / 0.5855 GB, free: 2.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3462, allocations: 0.9062 kB / 0.5855 GB, free: 2.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.3462, allocations: 0 / 0.5855 GB, free: 2.75 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003686/0.3466, allocations: 358.2 kB / 0.5859 GB, free: 2.387 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.3467, allocations: 9.203 kB / 0.5859 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.124e-05/0.3467, allocations: 37.95 kB / 0.5859 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.444e-05/0.3467, allocations: 11.92 kB / 0.5859 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.642e-05/0.3468, allocations: 168.8 kB / 0.5861 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.3468, allocations: 2.531 kB / 0.5861 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.3468, allocations: 9.484 kB / 0.5861 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.3469, allocations: 57.61 kB / 0.5862 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.347, allocations: 0.9062 kB / 0.5862 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.347, allocations: 4.797 kB / 0.5862 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.347, allocations: 1.812 kB / 0.5862 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.02e-05/0.3471, allocations: 30.45 kB / 0.5862 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.3474, allocations: 312.6 kB / 0.5865 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.678e-05/0.3476, allocations: 64.95 kB / 0.5866 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.113e-05/0.3476, allocations: 27.17 kB / 0.5866 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.3476, allocations: 1.094 kB / 0.5866 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.3478, allocations: 73.58 kB / 0.5867 GB, free: 1.656 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.3478, allocations: 0 / 0.5867 GB, free: 1.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001931/0.348, allocations: 101 kB / 0.5868 GB, free: 1.602 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.348, allocations: 58.05 kB / 0.5868 GB, free: 1.535 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.942e-05/0.3481, allocations: 104.1 kB / 0.5869 GB, free: 1.434 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.3481, allocations: 31.45 kB / 0.5869 GB, free: 1.398 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.415e-05/0.3481, allocations: 86.94 kB / 0.587 GB, free: 1.312 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.3481, allocations: 20.17 kB / 0.5871 GB, free: 1.297 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.3482, allocations: 20.03 kB / 0.5871 GB, free: 1.277 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.854e-05/0.3482, allocations: 322.9 kB / 0.5874 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.262e-05/0.3482, allocations: 15.47 kB / 0.5874 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.713e-05/0.3483, allocations: 52.16 kB / 0.5874 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.136e-05/0.3484, allocations: 65.69 kB / 0.5875 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.3484, allocations: 0 / 0.5875 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001248/0.3485, allocations: 92.95 kB / 0.5876 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.3485, allocations: 6.797 kB / 0.5876 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3485, allocations: 0.7031 kB / 0.5876 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3486, allocations: 10.11 kB / 0.5876 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.165e-05/0.3486, allocations: 13.42 kB / 0.5876 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3486, allocations: 1.969 kB / 0.5876 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.613e-05/0.3487, allocations: 16.44 kB / 0.5876 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.3487, allocations: 8.031 kB / 0.5876 GB, free: 0.7812 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.411e-05/0.3488, allocations: 115.1 kB / 0.5878 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.3488, allocations: 6.906 kB / 0.5878 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.474e-05/0.3488, allocations: 13.75 kB / 0.5878 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3488, allocations: 1.188 kB / 0.5878 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3488, allocations: 5.219 kB / 0.5878 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3489, allocations: 0.7031 kB / 0.5878 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.3492, allocations: 360.5 kB / 0.5881 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3492, allocations: 0 / 0.5881 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.564e-05/0.3492, allocations: 12.81 kB / 0.5881 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3492, allocations: 4.797 kB / 0.5881 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.3492, allocations: 5.312 kB / 0.5882 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3492, allocations: 5.797 kB / 0.5882 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3492, allocations: 8.047 kB / 0.5882 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.3494, allocations: 182.2 kB / 0.5883 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.699e-05/0.3494, allocations: 79.33 kB / 0.5884 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.3494, allocations: 2.266 kB / 0.5884 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.3495, allocations: 15.12 kB / 0.5884 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.3495, allocations: 7.484 kB / 0.5884 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.3496, allocations: 7.172 kB / 0.5884 GB, free: 28 kB / 430.1 MB Notification: Performance of sorting global known variables: time 5.034e-05/0.3496, allocations: 81.58 kB / 0.5885 GB, free: 15.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3496, allocations: 0 / 0.5885 GB, free: 15.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.3498, allocations: 14.28 kB / 0.5885 GB, free: 15.95 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003885/0.3502, allocations: 0.7155 MB / 0.5892 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.3504, allocations: 54.52 kB / 0.5893 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3504, allocations: 0.6875 kB / 0.5893 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.324e-05/0.3504, allocations: 26.64 kB / 0.5893 GB, free: 15.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.3507, allocations: 16 kB / 0.5893 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.3518, allocations: 1.376 MB / 0.5907 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.352, allocations: 0.6853 MB / 0.5913 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.605e-05/0.3521, allocations: 6.047 kB / 0.5913 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.3521, allocations: 21.16 kB / 0.5914 GB, free: 13.22 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3521, allocations: 0 / 0.5914 GB, free: 13.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8689/1.221, allocations: 1.462 MB / 0.5928 GB, free: 13.09 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003055/1.221, allocations: 196.5 kB / 0.593 GB, free: 12.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.964, allocations: 3.938 kB / 0.593 GB, free: 12.83 MB / 446.1 MB (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)