Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.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.0008535/0.0008535, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001685/0.001685, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9528/0.9528, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.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.7978/0.7978, allocations: 203.5 MB / 0.5039 GB, free: 10.73 MB / 410.7 MB " [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.OBC.CDL.Logical.Validation.Change,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 69.02 kB / 0.7178 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5465/0.5478, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001953/0.5498, allocations: 0.7277 MB / 0.8181 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.551, allocations: 1.169 MB / 0.8192 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.897e-05/0.551, allocations: 3.938 kB / 0.8192 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.5511, allocations: 4.781 kB / 0.8192 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.067e-05/0.5511, allocations: 21.02 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.5516, allocations: 133.9 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.5517, allocations: 116.8 kB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.5519, allocations: 14.67 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.778e-05/0.552, allocations: 47.8 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.5521, allocations: 37.17 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.5521, allocations: 10.06 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.872e-05/0.5522, allocations: 27.34 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.92e-05/0.5522, allocations: 13.28 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.594e-05/0.5522, allocations: 38.11 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.5525, allocations: 112.2 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5525, allocations: 3.984 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5525, allocations: 0 / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.5525, allocations: 0 / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005098/0.553, allocations: 334 kB / 0.8201 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.553, allocations: 10.78 kB / 0.8201 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.838e-05/0.5531, allocations: 36.39 kB / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.5531, allocations: 12.61 kB / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.005e-05/0.5532, allocations: 119.5 kB / 0.8203 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.5532, allocations: 11.92 kB / 0.8203 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.5532, allocations: 7.453 kB / 0.8203 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.5533, allocations: 61.88 kB / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.5534, allocations: 4.547 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.5534, allocations: 4.844 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.5534, allocations: 4.297 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.5535, allocations: 40.06 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.5539, allocations: 292.1 kB / 0.8207 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.554, allocations: 54.97 kB / 0.8207 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.059e-05/0.5541, allocations: 32.22 kB / 0.8208 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.5541, allocations: 3.172 kB / 0.8208 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.5543, allocations: 90.27 kB / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.5543, allocations: 0 / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003125/0.5546, allocations: 145.9 kB / 0.821 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.5546, allocations: 53.25 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.5547, allocations: 118.1 kB / 0.8212 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.5548, allocations: 34.52 kB / 0.8212 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.5548, allocations: 88.38 kB / 0.8213 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.5548, allocations: 23.97 kB / 0.8213 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.636e-05/0.5549, allocations: 39.47 kB / 0.8213 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.663e-05/0.555, allocations: 324.4 kB / 0.8216 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.5551, allocations: 84.25 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.5552, allocations: 117.5 kB / 0.8218 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.5554, allocations: 138.3 kB / 0.822 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5554, allocations: 0 / 0.822 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002933/0.5557, allocations: 244 kB / 0.8222 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/0.5558, allocations: 34.47 kB / 0.8222 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.5558, allocations: 6.469 kB / 0.8222 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.5558, allocations: 6.406 kB / 0.8222 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.905e-05/0.5558, allocations: 11.66 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.5559, allocations: 4.5 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.556, allocations: 44.06 kB / 0.8223 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.556, allocations: 9.953 kB / 0.8223 GB, free: 13.59 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 7.376e-05/0.5561, allocations: 125.5 kB / 0.8224 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-06/0.5561, allocations: 10.14 kB / 0.8224 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.5561, allocations: 13.02 kB / 0.8225 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5561, allocations: 0.7031 kB / 0.8225 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5561, allocations: 0 / 0.8225 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.5561, allocations: 0.5156 kB / 0.8225 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.5564, allocations: 343.1 kB / 0.8228 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5564, allocations: 1.5 kB / 0.8228 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/0.5565, allocations: 10.41 kB / 0.8228 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5565, allocations: 5.438 kB / 0.8228 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.5565, allocations: 4.875 kB / 0.8228 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5565, allocations: 0 / 0.8228 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5565, allocations: 1.125 kB / 0.8228 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.5567, allocations: 210.4 kB / 0.823 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.725e-06/0.5567, allocations: 5.359 kB / 0.823 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.5567, allocations: 6.734 kB / 0.823 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.802e-05/0.5568, allocations: 7.094 kB / 0.823 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.5568, allocations: 9.578 kB / 0.823 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.5568, allocations: 3.344 kB / 0.823 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.5569, allocations: 93.69 kB / 0.8231 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5569, allocations: 0 / 0.8231 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001801/0.557, allocations: 25.36 kB / 0.8232 GB, free: 12.9 MB / 0.6198 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 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008283/0.5579, allocations: 0.7531 MB / 0.8239 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003104/0.5582, allocations: 192 kB / 0.8241 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.5582, allocations: 0 / 0.8241 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.625e-05/0.5583, allocations: 37.75 kB / 0.8241 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.5585, allocations: 20.53 kB / 0.8241 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.5601, allocations: 1.813 MB / 0.8259 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.664e-05/0.5602, allocations: 71.2 kB / 0.826 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.565e-05/0.5602, allocations: 13.12 kB / 0.826 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.5603, allocations: 21.52 kB / 0.826 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.5603, allocations: 0 / 0.826 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.5782, allocations: 3.208 MB / 0.8291 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.985/7.563, allocations: 7.516 kB / 0.8291 GB, free: 9.434 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Change.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.548614911735058] Failed to read output from testmodel.py, exit status != 0: 7.6406144462525845 7.653179712 7.098671061 Calling exit ...