Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.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.001237/0.001237, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001008/0.001008, allocations: 217.7 kB / 22.25 MB, free: 3.699 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.9798/0.9798, allocations: 230.6 MB / 256 MB, free: 9.805 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.8285/0.8285, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.And,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_And",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.0009916/0.0009916, allocations: 69.62 kB / 0.7182 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6217/0.6227, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001959/0.6246, allocations: 0.6484 MB / 0.8185 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.6263, allocations: 1.228 MB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.618e-05/0.6263, allocations: 4 kB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.964e-05/0.6264, allocations: 4.547 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.664e-05/0.6265, allocations: 16.64 kB / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.627, allocations: 217.4 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006014/0.6276, allocations: 168.6 kB / 0.8201 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.6278, allocations: 9.75 kB / 0.8201 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.6279, allocations: 75.77 kB / 0.8202 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.628, allocations: 54.3 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/0.6281, allocations: 15.88 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.673e-05/0.6282, allocations: 34.36 kB / 0.8203 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.348e-05/0.6282, allocations: 15.8 kB / 0.8203 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.6283, allocations: 56.44 kB / 0.8203 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.6286, allocations: 151.8 kB / 0.8205 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6286, allocations: 0.5625 kB / 0.8205 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.755e-06/0.6286, allocations: 3.938 kB / 0.8205 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.6286, allocations: 0 / 0.8205 GB, free: 15.61 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.000571/0.6292, allocations: 363.4 kB / 0.8208 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.6293, allocations: 10.06 kB / 0.8208 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.519e-05/0.6293, allocations: 33.44 kB / 0.8209 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.6293, allocations: 12.44 kB / 0.8209 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.6295, allocations: 111.1 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.6295, allocations: 9.891 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.6295, allocations: 9.812 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.6296, allocations: 48.75 kB / 0.8211 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.6296, allocations: 3.938 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.6297, allocations: 6.812 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.6297, allocations: 0 / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.136e-05/0.6297, allocations: 20.06 kB / 0.8211 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.6302, allocations: 323.2 kB / 0.8214 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.593e-05/0.6303, allocations: 31.97 kB / 0.8214 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.618e-05/0.6303, allocations: 21.16 kB / 0.8214 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.6303, allocations: 0.6562 kB / 0.8214 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.6305, allocations: 88.52 kB / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.6305, allocations: 0 / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002114/0.6307, allocations: 104.4 kB / 0.8216 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.6308, allocations: 55.89 kB / 0.8217 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.543e-05/0.6309, allocations: 114.3 kB / 0.8218 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.6309, allocations: 34.8 kB / 0.8218 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.6309, allocations: 94.06 kB / 0.8219 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.6309, allocations: 19.92 kB / 0.8219 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-05/0.631, allocations: 47.14 kB / 0.822 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.441e-05/0.6311, allocations: 322.7 kB / 0.8223 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.6312, allocations: 60.38 kB / 0.8223 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.6313, allocations: 88.97 kB / 0.8224 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.6315, allocations: 173 kB / 0.8226 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6315, allocations: 0 / 0.8226 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003015/0.6318, allocations: 261.2 kB / 0.8228 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.148e-05/0.6319, allocations: 66.95 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.6319, allocations: 4.125 kB / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.6319, allocations: 4.031 kB / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.879e-05/0.6319, allocations: 2.781 kB / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.6319, allocations: 3.969 kB / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.6322, allocations: 54.91 kB / 0.823 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.6322, allocations: 12.14 kB / 0.823 GB, free: 13.48 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,and1.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 0.0001091/0.6323, allocations: 134.1 kB / 0.8231 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.6323, allocations: 9.172 kB / 0.8231 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.6324, allocations: 5.5 kB / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.6324, allocations: 3.984 kB / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.6324, allocations: 2.438 kB / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6324, allocations: 0 / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.6325, allocations: 149.8 kB / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6325, allocations: 0 / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.026e-05/0.6325, allocations: 6.312 kB / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.6325, allocations: 1.75 kB / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.6325, allocations: 4.891 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.6325, allocations: 3.688 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6325, allocations: 3.984 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.6327, allocations: 113.6 kB / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.6327, allocations: 2.844 kB / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.6327, allocations: 2.172 kB / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.777e-05/0.6327, allocations: 0 / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.6328, allocations: 14.84 kB / 0.8234 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.6328, allocations: 11.16 kB / 0.8234 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.598e-05/0.6328, allocations: 89.94 kB / 0.8235 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6328, allocations: 0 / 0.8235 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000185/0.633, allocations: 31.67 kB / 0.8236 GB, free: 12.97 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,and1.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.0004684/0.6335, allocations: 0.6485 MB / 0.8242 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003437/0.6338, allocations: 227.6 kB / 0.8244 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6338, allocations: 0 / 0.8244 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.193e-05/0.6339, allocations: 23.33 kB / 0.8244 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.6341, allocations: 17.38 kB / 0.8244 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.636, allocations: 1.715 MB / 0.8261 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.6363, allocations: 0.6861 MB / 0.8268 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.431e-05/0.6363, allocations: 12.86 kB / 0.8268 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.411e-05/0.6364, allocations: 17.55 kB / 0.8268 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.6364, allocations: 0 / 0.8268 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/0.6563, allocations: 3.03 MB / 0.8298 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.546/7.202, allocations: 1.375 kB / 0.8298 GB, free: 9.484 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_And.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.200164708774537] Failed to read output from testmodel.py, exit status != 0: 7.281657913932577 7.296060027 6.664984983 Calling exit ...