Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.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.0007539/0.0007539, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001041/0.001041, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8899/0.8899, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7271/0.7271, allocations: 154.6 MB / 413.8 MB, free: 0.7852 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.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.682e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001614/0.001631, allocations: 0.6398 MB / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.002817, allocations: 1.213 MB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.318e-05/0.00286, allocations: 0 / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.694e-05/0.002887, allocations: 7.938 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.739e-05/0.002964, allocations: 23.84 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.003451, allocations: 209.2 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.003631, allocations: 175.7 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.186e-05/0.003723, allocations: 8 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.00383, allocations: 103.8 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.003937, allocations: 55.84 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.003964, allocations: 16 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.761e-05/0.004022, allocations: 31.92 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.004042, allocations: 4 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.647e-05/0.004109, allocations: 59.88 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.00429, allocations: 175.6 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.004292, allocations: 0 / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.41e-07/0.004293, allocations: 0 / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.004296, allocations: 0 / 0.6207 GB, free: 10.93 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003982/0.004694, allocations: 357.6 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.004731, allocations: 8.031 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.657e-05/0.004757, allocations: 38.75 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.004796, allocations: 16.88 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.678e-05/0.004872, allocations: 109.8 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.004886, allocations: 4.375 kB / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.004906, allocations: 8.375 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.514e-05/0.005001, allocations: 62.11 kB / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.005007, allocations: 192 / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.005015, allocations: 384 / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.00502, allocations: 4.125 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.258e-05/0.005052, allocations: 15.94 kB / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.005394, allocations: 299.9 kB / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.475e-05/0.005459, allocations: 42.52 kB / 0.6217 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.364e-05/0.005482, allocations: 16.94 kB / 0.6217 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.005492, allocations: 3.938 kB / 0.6217 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.005612, allocations: 79.38 kB / 0.6218 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.005613, allocations: 0 / 0.6218 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0001911/0.005804, allocations: 109.5 kB / 0.6219 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.005847, allocations: 55.39 kB / 0.6219 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.688e-05/0.005913, allocations: 121.8 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.005935, allocations: 33.7 kB / 0.6221 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.005977, allocations: 92.14 kB / 0.6222 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.15e-05/0.005989, allocations: 11.89 kB / 0.6222 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.006047, allocations: 49.69 kB / 0.6222 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.935e-05/0.006116, allocations: 318.8 kB / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.006227, allocations: 119.4 kB / 0.6226 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.006344, allocations: 159.7 kB / 0.6228 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.006468, allocations: 159.5 kB / 0.6229 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.006471, allocations: 3.938 kB / 0.6229 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002876/0.006759, allocations: 328.7 kB / 0.6233 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/0.006803, allocations: 71.33 kB / 0.6233 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.006809, allocations: 7.984 kB / 0.6233 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.00682, allocations: 0 / 0.6233 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.634e-05/0.006836, allocations: 7.984 kB / 0.6233 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.006841, allocations: 0 / 0.6233 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.007025, allocations: 60 kB / 0.6234 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.007044, allocations: 8.062 kB / 0.6234 GB, free: 7.895 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,xor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.171e-05/0.007115, allocations: 130.8 kB / 0.6235 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.007123, allocations: 7.953 kB / 0.6235 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.163e-05/0.007145, allocations: 20.31 kB / 0.6236 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.007147, allocations: 0 / 0.6236 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.00715, allocations: 0 / 0.6236 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.007154, allocations: 0 / 0.6236 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.06e-05/0.007235, allocations: 148.7 kB / 0.6237 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.007235, allocations: 4 kB / 0.6237 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.348e-06/0.00724, allocations: 4 kB / 0.6237 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.007241, allocations: 0 / 0.6237 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.007247, allocations: 4 kB / 0.6237 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.007248, allocations: 0 / 0.6237 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.007249, allocations: 0 / 0.6237 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.462e-05/0.007343, allocations: 113 kB / 0.6238 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-06/0.007349, allocations: 3.953 kB / 0.6238 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.007361, allocations: 11.98 kB / 0.6238 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.106e-05/0.007372, allocations: 0 / 0.6238 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/0.007406, allocations: 11.92 kB / 0.6238 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-06/0.007411, allocations: 8 kB / 0.6239 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.161e-05/0.007443, allocations: 91.27 kB / 0.6239 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007443, allocations: 0 / 0.6239 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001545/0.007598, allocations: 28 kB / 0.624 GB, free: 7.246 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,xor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0002876/0.007885, allocations: 0.6476 MB / 0.6246 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.008128, allocations: 282.1 kB / 0.6249 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.008129, allocations: 0 / 0.6249 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.24e-05/0.008162, allocations: 28.39 kB / 0.6249 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.008319, allocations: 28.55 kB / 0.6249 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.009871, allocations: 1.96 MB / 0.6268 GB, free: 4.066 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.79e-05/0.009909, allocations: 71.33 kB / 0.6269 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.037e-05/0.009929, allocations: 4 kB / 0.6269 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.009962, allocations: 20.5 kB / 0.6269 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of SimCode: time 3.1e-07/0.009962, allocations: 4 kB / 0.6269 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0159/0.02586, allocations: 3.765 MB / 0.6306 GB, free: 396 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.697/6.722, allocations: 3.938 kB / 0.6306 GB, free: 392 kB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Xor.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.376451252028346] Failed to read output from testmodel.py, exit status != 0: 6.8033907832577825 6.817615605 6.811098112 Calling exit ...