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.0006913/0.0006913, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 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.0007289/0.0007289, allocations: 216.2 kB / 23 MB, free: 2.98 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.8892/0.8892, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.7336/0.7336, allocations: 203.5 MB / 0.5046 GB, free: 10.71 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: translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor") [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.0009135/0.0009135, allocations: 61.59 kB / 0.719 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5096/0.5105, allocations: 102 MB / 0.8186 GB, free: 1.504 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.00177/0.5123, allocations: 0.625 MB / 0.8192 GB, free: 1.121 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.5136, allocations: 1.211 MB / 0.8204 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.446e-05/0.5136, allocations: 0 / 0.8204 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.73e-05/0.5137, allocations: 4.641 kB / 0.8204 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.728e-05/0.5137, allocations: 15.31 kB / 0.8204 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000657/0.5144, allocations: 215.7 kB / 0.8206 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.5146, allocations: 178 kB / 0.8208 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.5147, allocations: 9.812 kB / 0.8208 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.5148, allocations: 73.78 kB / 0.8209 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.515, allocations: 49.98 kB / 0.8209 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.515, allocations: 15.62 kB / 0.8209 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.208e-05/0.5151, allocations: 29.25 kB / 0.821 GB, free: 0 / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.5151, allocations: 8.75 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.638e-05/0.5152, allocations: 56.86 kB / 0.821 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.5154, allocations: 154.6 kB / 0.8212 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5154, allocations: 3.938 kB / 0.8212 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.013e-06/0.5154, allocations: 3.938 kB / 0.8212 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.5154, allocations: 1.188 kB / 0.8212 GB, free: 15.91 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005175/0.516, allocations: 357.8 kB / 0.8215 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.516, allocations: 9.969 kB / 0.8215 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.5161, allocations: 12.16 kB / 0.8216 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.871e-05/0.5162, allocations: 115.8 kB / 0.8217 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.5162, allocations: 5.891 kB / 0.8217 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.5162, allocations: 10.66 kB / 0.8217 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.5163, allocations: 57.77 kB / 0.8217 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.5163, allocations: 192 / 0.8217 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.5164, allocations: 8.531 kB / 0.8217 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5164, allocations: 0.7188 kB / 0.8217 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.936e-05/0.5164, allocations: 20.09 kB / 0.8218 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.5168, allocations: 274.3 kB / 0.822 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.786e-05/0.5169, allocations: 34.38 kB / 0.8221 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.869e-05/0.5169, allocations: 20.81 kB / 0.8221 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.517, allocations: 0 / 0.8221 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.5171, allocations: 85.19 kB / 0.8222 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.5171, allocations: 4 kB / 0.8222 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002385/0.5174, allocations: 106 kB / 0.8223 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.5174, allocations: 51.41 kB / 0.8223 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.61e-05/0.5175, allocations: 117.2 kB / 0.8224 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.5175, allocations: 36.08 kB / 0.8225 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.5176, allocations: 92.72 kB / 0.8225 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.5176, allocations: 16.7 kB / 0.8226 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.892e-05/0.5177, allocations: 52.97 kB / 0.8226 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.055e-05/0.5178, allocations: 319 kB / 0.8229 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.5179, allocations: 120.4 kB / 0.823 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.518, allocations: 158.3 kB / 0.8232 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.5182, allocations: 172.7 kB / 0.8233 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5182, allocations: 0 / 0.8233 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003361/0.5185, allocations: 320.6 kB / 0.8237 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.887e-05/0.5186, allocations: 70.23 kB / 0.8237 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.5186, allocations: 1.219 kB / 0.8237 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.5186, allocations: 5.219 kB / 0.8237 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.339e-05/0.5186, allocations: 7.406 kB / 0.8237 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.5186, allocations: 1.438 kB / 0.8237 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.5189, allocations: 57.09 kB / 0.8238 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.5189, allocations: 15.56 kB / 0.8238 GB, free: 13.65 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: 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 8.53e-05/0.519, allocations: 122.9 kB / 0.8239 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.519, allocations: 10.23 kB / 0.8239 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.519, allocations: 14.3 kB / 0.8239 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.519, allocations: 0 / 0.8239 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.519, allocations: 5.094 kB / 0.8239 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.519, allocations: 0 / 0.8239 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.396e-05/0.5191, allocations: 126.1 kB / 0.8241 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5191, allocations: 0 / 0.8241 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.113e-06/0.5191, allocations: 2.094 kB / 0.8241 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5191, allocations: 0 / 0.8241 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.5191, allocations: 1.094 kB / 0.8241 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.5191, allocations: 5.062 kB / 0.8241 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5191, allocations: 7.938 kB / 0.8241 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.5193, allocations: 120 kB / 0.8242 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-06/0.5193, allocations: 2.125 kB / 0.8242 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.5193, allocations: 1.188 kB / 0.8242 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.886e-05/0.5193, allocations: 6.125 kB / 0.8242 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.5193, allocations: 7.875 kB / 0.8242 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.5194, allocations: 8.875 kB / 0.8242 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.823e-05/0.5194, allocations: 88.38 kB / 0.8243 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5194, allocations: 0 / 0.8243 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001799/0.5196, allocations: 32.03 kB / 0.8243 GB, free: 13.18 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 ($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.0001396/0.5197, allocations: 106.8 kB / 0.8244 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002959/0.52, allocations: 282.6 kB / 0.8247 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.52, allocations: 0 / 0.8247 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.624e-05/0.5201, allocations: 24.83 kB / 0.8247 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.5203, allocations: 19.81 kB / 0.8248 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003358/0.5206, allocations: 183.3 kB / 0.8249 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.375e-05/0.5206, allocations: 74.09 kB / 0.825 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/0.5207, allocations: 11.34 kB / 0.825 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of SimCode: time 4.01e-07/0.5207, allocations: 0 / 0.825 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of Templates: time 0.003809/0.5245, allocations: 1.417 MB / 0.8264 GB, free: 12.46 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.654586098156869] Failed to read output from testmodel.py, exit status != 0: 0.5311311092227697 0.546505495 0.028978389 Calling exit ...