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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000922/0.000922, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008761/0.0008761, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8952/0.8952, allocations: 177.2 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7198/0.7198, allocations: 154.6 MB / 413.8 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.458e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001922/0.001946, allocations: 1.504 MB / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005919/0.002538, allocations: 458.8 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.002574, allocations: 0 / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.648e-05/0.002601, allocations: 7.922 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.064e-05/0.002672, allocations: 11.92 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001252/0.002797, allocations: 19.92 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.147e-05/0.002878, allocations: 51.83 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.00298, allocations: 15.98 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.811e-05/0.003038, allocations: 31.86 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/0.003091, allocations: 19.89 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.003112, allocations: 8 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.295e-06/0.00312, allocations: 4 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.003138, allocations: 4 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.003174, allocations: 15.98 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.924e-05/0.003274, allocations: 51.8 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.003276, allocations: 4 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.72e-07/0.003277, allocations: 0 / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.003281, allocations: 0 / 0.6202 GB, free: 11.48 MB / 0.5886 GB 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.0003992/0.00368, allocations: 282.3 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.003718, allocations: 8.031 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.603e-05/0.003744, allocations: 34.75 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.003768, allocations: 4.938 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.324e-05/0.003852, allocations: 109.8 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.003864, allocations: 12.36 kB / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.003873, allocations: 8.312 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.989e-05/0.003963, allocations: 58.19 kB / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.00397, allocations: 4.125 kB / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.003979, allocations: 4.125 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.003986, allocations: 4 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.168e-05/0.004038, allocations: 27.97 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.004397, allocations: 267.7 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.004548, allocations: 50.62 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.588e-05/0.004584, allocations: 24.88 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.004594, allocations: 4 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.004756, allocations: 71.42 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 2.254e-06/0.004758, allocations: 4 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0001912/0.004949, allocations: 97.61 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.004987, allocations: 51.41 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.94e-05/0.005046, allocations: 113.8 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.005057, allocations: 25.7 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.005097, allocations: 88.14 kB / 0.6215 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.005118, allocations: 23.84 kB / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.005151, allocations: 25.72 kB / 0.6216 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.251e-05/0.005224, allocations: 322.8 kB / 0.6219 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.368e-05/0.005247, allocations: 16 kB / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.842e-05/0.005286, allocations: 43.42 kB / 0.6219 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.582e-05/0.005351, allocations: 67.36 kB / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.005355, allocations: 4 kB / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.987e-05/0.005455, allocations: 105.7 kB / 0.6221 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.005469, allocations: 4 kB / 0.6221 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.005474, allocations: 4.375 kB / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.005487, allocations: 4 kB / 0.6221 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.738e-05/0.005554, allocations: 12.03 kB / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.005559, allocations: 0 / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.98e-05/0.005599, allocations: 19.8 kB / 0.6221 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.005605, allocations: 4 kB / 0.6221 GB, free: 9.289 MB / 0.5886 GB 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 6.74e-05/0.005672, allocations: 130.7 kB / 0.6223 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-06/0.00568, allocations: 3.953 kB / 0.6223 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.331e-05/0.005703, allocations: 8.125 kB / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.005706, allocations: 4 kB / 0.6223 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.005712, allocations: 3.984 kB / 0.6223 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.005715, allocations: 0 / 0.6223 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.005986, allocations: 329.5 kB / 0.6226 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.005987, allocations: 0 / 0.6226 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.345e-05/0.006, allocations: 0 / 0.6226 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.006002, allocations: 4 kB / 0.6226 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.006008, allocations: 0 / 0.6226 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.00601, allocations: 0 / 0.6226 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.006011, allocations: 0 / 0.6226 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.006112, allocations: 191.4 kB / 0.6228 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.006119, allocations: 0 / 0.6228 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.006129, allocations: 0 / 0.6228 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.508e-05/0.006174, allocations: 11.98 kB / 0.6228 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.006213, allocations: 11.98 kB / 0.6228 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.006219, allocations: 7.938 kB / 0.6228 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.464e-05/0.006244, allocations: 83.22 kB / 0.6229 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006244, allocations: 0 / 0.6229 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001525/0.006397, allocations: 23.89 kB / 0.6229 GB, free: 8.418 MB / 0.5886 GB 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.0002846/0.006681, allocations: 0.7126 MB / 0.6236 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.006787, allocations: 51.92 kB / 0.6237 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.006788, allocations: 0 / 0.6237 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.471e-05/0.006823, allocations: 28 kB / 0.6237 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.007047, allocations: 15.92 kB / 0.6237 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008707/0.007917, allocations: 1.359 MB / 0.625 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.839e-05/0.007966, allocations: 75.33 kB / 0.6251 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.718e-05/0.007993, allocations: 15.88 kB / 0.6251 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/0.008035, allocations: 16.5 kB / 0.6251 GB, free: 6 MB / 0.5886 GB Notification: Performance of SimCode: time 9.71e-07/0.008036, allocations: 0 / 0.6251 GB, free: 6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.0249, allocations: 2.461 MB / 0.6275 GB, free: 3.703 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.609/6.634, allocations: 6.938 kB / 0.6275 GB, free: 3.699 MB / 0.5886 GB " [Timeout remaining time 653] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.31941732391715] Failed to read output from testmodel.py, exit status != 0: 6.712559308856726 6.724211768 6.718950678 Calling exit ...