Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007185/0.0007185, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009041/0.0009041, allocations: 208.1 kB / 22.25 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.9771/0.9771, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7885/0.7885, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Xor",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.001252/0.001252, allocations: 77.28 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5144/0.5157, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001529/0.5172, allocations: 0.6414 MB / 0.8184 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.5186, allocations: 1.21 MB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.09e-05/0.5186, allocations: 4 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.514e-05/0.5187, allocations: 4.5 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.112e-05/0.5188, allocations: 17.19 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006032/0.5194, allocations: 214.8 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.5196, allocations: 168.6 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.5197, allocations: 9.078 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.829e-05/0.5198, allocations: 79.23 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.5199, allocations: 54 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.5199, allocations: 17.16 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.599e-05/0.52, allocations: 26.31 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.52, allocations: 12.62 kB / 0.8202 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.543e-05/0.5201, allocations: 52.45 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.5204, allocations: 154.8 kB / 0.8204 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5204, allocations: 0 / 0.8204 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5204, allocations: 0 / 0.8204 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.5204, allocations: 0.7812 kB / 0.8204 GB, free: 15.44 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.0005251/0.5209, allocations: 362.1 kB / 0.8207 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.5209, allocations: 14.81 kB / 0.8207 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.896e-05/0.521, allocations: 32.06 kB / 0.8208 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.274e-05/0.521, allocations: 12.39 kB / 0.8208 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.5211, allocations: 120.5 kB / 0.8209 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.5212, allocations: 7.641 kB / 0.8209 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.5212, allocations: 14.42 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.5213, allocations: 49.34 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.5213, allocations: 3.938 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.5213, allocations: 0.6094 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5213, allocations: 0 / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.827e-05/0.5214, allocations: 22.08 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006049/0.522, allocations: 307.9 kB / 0.8213 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.5221, allocations: 30.75 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.5221, allocations: 21.31 kB / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.5222, allocations: 0 / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003047/0.5225, allocations: 78.7 kB / 0.8214 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.5225, allocations: 0 / 0.8214 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003436/0.5228, allocations: 112 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.5229, allocations: 52.97 kB / 0.8216 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.523, allocations: 118.9 kB / 0.8217 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.523, allocations: 34.52 kB / 0.8217 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/0.5231, allocations: 95.7 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.5231, allocations: 15.47 kB / 0.8218 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.922e-05/0.5232, allocations: 53.12 kB / 0.8219 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5234, allocations: 323.5 kB / 0.8222 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.5235, allocations: 115.2 kB / 0.8223 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.5237, allocations: 159.6 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.5239, allocations: 163.8 kB / 0.8226 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.5239, allocations: 0 / 0.8226 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004576/0.5244, allocations: 325.4 kB / 0.8229 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.878e-05/0.5244, allocations: 70.81 kB / 0.823 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.5245, allocations: 0 / 0.823 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.5245, allocations: 1.781 kB / 0.823 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.654e-05/0.5245, allocations: 3.562 kB / 0.823 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.5245, allocations: 1.031 kB / 0.823 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.5247, allocations: 63.14 kB / 0.823 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.5248, allocations: 15.78 kB / 0.8231 GB, free: 13.1 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 9.379e-05/0.5248, allocations: 126.5 kB / 0.8232 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.5249, allocations: 6.641 kB / 0.8232 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.5249, allocations: 10.97 kB / 0.8232 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.5249, allocations: 0 / 0.8232 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.5249, allocations: 1.219 kB / 0.8232 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5249, allocations: 0.9844 kB / 0.8232 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.525, allocations: 150.8 kB / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.525, allocations: 0 / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.754e-06/0.525, allocations: 1.938 kB / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.525, allocations: 2.422 kB / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.525, allocations: 2.016 kB / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.525, allocations: 0 / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.525, allocations: 0 / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.5252, allocations: 118.4 kB / 0.8235 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.242e-05/0.5252, allocations: 5.531 kB / 0.8235 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.5252, allocations: 5.469 kB / 0.8235 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.457e-05/0.5253, allocations: 4 kB / 0.8235 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.5253, allocations: 10.69 kB / 0.8235 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.5253, allocations: 3.438 kB / 0.8235 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.454e-05/0.5254, allocations: 93.94 kB / 0.8236 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5254, allocations: 0 / 0.8236 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001915/0.5256, allocations: 41.38 kB / 0.8236 GB, free: 12.59 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.0004622/0.526, allocations: 0.6506 MB / 0.8243 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003508/0.5264, allocations: 285 kB / 0.8245 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.5264, allocations: 256 / 0.8245 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.404e-05/0.5264, allocations: 26.14 kB / 0.8245 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.5267, allocations: 16.77 kB / 0.8246 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.5287, allocations: 1.963 MB / 0.8265 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.971e-05/0.5288, allocations: 70.09 kB / 0.8265 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.402e-05/0.5288, allocations: 13.2 kB / 0.8266 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.802e-05/0.5289, allocations: 16.33 kB / 0.8266 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of SimCode: time 9.12e-07/0.5289, allocations: 0 / 0.8266 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.5521, allocations: 3.649 MB / 0.8301 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.707/7.259, allocations: 5.359 kB / 0.8301 GB, free: 8.91 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Xor.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.292197800707072] Failed to read output from testmodel.py, exit status != 0: 7.338229135144502 7.348847826 6.826449112 Calling exit ...