Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 249.5 MB / 257 MB, free: 6.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00105/0.001049, allocations: 184.8 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.797/1.797, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008609/0.0008603, allocations: 86.48 kB / 0.6714 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.797e-05/2.799e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2158, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7631/0.979, allocations: 131.7 MB / 1.014 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.9793, allocations: 69.77 kB / 1.014 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002454/0.9818, allocations: 0.8977 MB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9818, allocations: 0 / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.9818, allocations: 4 kB / 1.015 GB, free: 4.91 MB / 0.6355 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.0004658/0.9823, allocations: 354 kB / 1.015 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.9823, allocations: 8.031 kB / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.9824, allocations: 7.906 kB / 1.015 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.9826, allocations: 178.8 kB / 1.015 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.9826, allocations: 0 / 1.015 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.9826, allocations: 8 kB / 1.015 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.201e-05/0.9827, allocations: 20.12 kB / 1.015 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.753e-05/0.9828, allocations: 49.75 kB / 1.015 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.9828, allocations: 0 / 1.015 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.9828, allocations: 0 / 1.015 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.9828, allocations: 0 / 1.015 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.9832, allocations: 267.3 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.005e-05/0.9833, allocations: 37.2 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.269e-05/0.9834, allocations: 19.55 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.9834, allocations: 2.625 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001321/0.9835, allocations: 82 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.9835, allocations: 0 / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001792/0.9837, allocations: 63.06 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.9838, allocations: 59.41 kB / 1.016 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.9839, allocations: 108.1 kB / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.9839, allocations: 25.7 kB / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.984, allocations: 87.08 kB / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.984, allocations: 15.8 kB / 1.016 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.984, allocations: 3.688 kB / 1.016 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.9842, allocations: 314.8 kB / 1.016 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.849e-05/0.9842, allocations: 14.75 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.304e-05/0.9843, allocations: 37.2 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/0.9843, allocations: 19.28 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.9843, allocations: 0 / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001176/0.9844, allocations: 68.38 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.9844, allocations: 4 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.9845, allocations: 0 / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.9845, allocations: 8.062 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.555e-05/0.9845, allocations: 4.875 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.9846, allocations: 0 / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.678e-05/0.9846, allocations: 11.98 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.9847, allocations: 4 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,xor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.148e-05/0.9847, allocations: 114.7 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001017/0.9849, allocations: 75.95 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.9849, allocations: 7.906 kB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/0.9849, allocations: 12.12 kB / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.9849, allocations: 7.938 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.9849, allocations: 0 / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.9849, allocations: 0 / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.9851, allocations: 156.8 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.9851, allocations: 3.984 kB / 1.017 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.139e-05/0.9851, allocations: 6.625 kB / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.9851, allocations: 0 / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.9851, allocations: 0 / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.9851, allocations: 0 / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.9851, allocations: 4 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.9853, allocations: 96.25 kB / 1.017 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.9853, allocations: 85.19 kB / 1.017 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.9853, allocations: 4 kB / 1.017 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.033e-05/0.9854, allocations: 15.92 kB / 1.017 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.9855, allocations: 11.48 kB / 1.017 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.9855, allocations: 8 kB / 1.017 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.837e-05/0.9856, allocations: 94.58 kB / 1.017 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9856, allocations: 0 / 1.017 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001813/0.9858, allocations: 8 kB / 1.017 GB, free: 2.219 MB / 0.6355 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,xor1.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004525/0.9862, allocations: 0.6362 MB / 1.018 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.9863, allocations: 42.55 kB / 1.018 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.9863, allocations: 0 / 1.018 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.591e-05/0.9864, allocations: 23.19 kB / 1.018 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.9866, allocations: 15.55 kB / 1.018 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.987, allocations: 123.6 kB / 1.018 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.9873, allocations: 0.6886 MB / 1.019 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.393e-05/0.9873, allocations: 11.84 kB / 1.019 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.9874, allocations: 14.69 kB / 1.019 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of SimCode: time 2.7e-07/0.9874, allocations: 0 / 1.019 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/1.007, allocations: 1.291 MB / 1.02 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000276/1.008, allocations: 149.3 kB / 1.02 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.456/2.464, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)