Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.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.0007727/0.0007727, 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.0008627/0.0008627, allocations: 221.7 kB / 22.26 MB, free: 3.691 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.9912/0.9912, 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.8062/0.8062, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.Not,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Not",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.0009783/0.0009783, allocations: 67.44 kB / 0.7182 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5327/0.5337, allocations: 102 MB / 0.8179 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Not): time 0.001281/0.5349, allocations: 0.606 MB / 0.8185 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009347/0.5359, allocations: 1.157 MB / 0.8196 GB, free: 0 / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.5359, allocations: 0 / 0.8196 GB, free: 0 / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.879e-05/0.536, allocations: 4.047 kB / 0.8196 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.616e-05/0.536, allocations: 10.53 kB / 0.8196 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.5364, allocations: 116.2 kB / 0.8197 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.5366, allocations: 87.73 kB / 0.8198 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.641e-05/0.5367, allocations: 8.422 kB / 0.8198 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.47e-05/0.5367, allocations: 36.62 kB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.91e-05/0.5368, allocations: 30.14 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.5368, allocations: 9.281 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.058e-05/0.5369, allocations: 19.97 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.5369, allocations: 3.906 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.248e-05/0.537, allocations: 34.3 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.5371, allocations: 80.45 kB / 0.82 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5371, allocations: 4 kB / 0.82 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5371, allocations: 0 / 0.82 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.5371, allocations: 1.938 kB / 0.82 GB, free: 15.81 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003795/0.5375, allocations: 296.8 kB / 0.8203 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.5376, allocations: 10.5 kB / 0.8203 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.609e-05/0.5376, allocations: 36.09 kB / 0.8203 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.5376, allocations: 12.05 kB / 0.8204 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.733e-05/0.5377, allocations: 110.6 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.5377, allocations: 2.906 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.5377, allocations: 8.703 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.066e-05/0.5378, allocations: 40.89 kB / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.5378, allocations: 3.938 kB / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.5378, allocations: 5.688 kB / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.5378, allocations: 0 / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.241e-05/0.5379, allocations: 9.453 kB / 0.8205 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.5382, allocations: 264 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.642e-05/0.5383, allocations: 23.22 kB / 0.8208 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.355e-05/0.5383, allocations: 5.422 kB / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.783e-06/0.5383, allocations: 1.953 kB / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.5384, allocations: 60.56 kB / 0.8209 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.5384, allocations: 0 / 0.8209 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001653/0.5386, allocations: 68.66 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.5386, allocations: 52.2 kB / 0.821 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.593e-05/0.5387, allocations: 103.7 kB / 0.8211 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.5387, allocations: 32.23 kB / 0.8211 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.026e-05/0.5388, allocations: 87.34 kB / 0.8212 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.658e-06/0.5388, allocations: 12.52 kB / 0.8212 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.5388, allocations: 26.53 kB / 0.8212 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.5389, allocations: 320.1 kB / 0.8215 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.993e-05/0.539, allocations: 30.34 kB / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.191e-05/0.539, allocations: 44.36 kB / 0.8216 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.954e-05/0.5391, allocations: 86.77 kB / 0.8217 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5391, allocations: 2.219 kB / 0.8217 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001864/0.5393, allocations: 144.5 kB / 0.8218 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.5393, allocations: 36.42 kB / 0.8219 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.5394, allocations: 0 / 0.8219 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.5394, allocations: 1.656 kB / 0.8219 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.803e-05/0.5394, allocations: 3.922 kB / 0.8219 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.5394, allocations: 0.5625 kB / 0.8219 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.5395, allocations: 38.66 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.5395, allocations: 7.016 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 6.891e-05/0.5396, allocations: 121.3 kB / 0.822 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-06/0.5396, allocations: 0 / 0.822 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.081e-05/0.5396, allocations: 4.531 kB / 0.822 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.5396, allocations: 7.844 kB / 0.822 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5396, allocations: 0.5625 kB / 0.822 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.5396, allocations: 0 / 0.822 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.257e-05/0.5397, allocations: 142.4 kB / 0.8222 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.5397, allocations: 1.375 kB / 0.8222 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.555e-06/0.5397, allocations: 0.5156 kB / 0.8222 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.5397, allocations: 2.344 kB / 0.8222 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.5398, allocations: 0.6562 kB / 0.8222 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.5398, allocations: 0 / 0.8222 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.5398, allocations: 0.5156 kB / 0.8222 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.939e-05/0.5398, allocations: 86.03 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-06/0.5398, allocations: 8.656 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.5399, allocations: 0.9375 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.032e-05/0.5399, allocations: 1.359 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.5399, allocations: 8.422 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.5399, allocations: 0.9844 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.047e-05/0.5399, allocations: 83.98 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5399, allocations: 0 / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001403/0.5401, allocations: 19.72 kB / 0.8224 GB, free: 13.53 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002937/0.5404, allocations: 0.6113 MB / 0.823 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001776/0.5405, allocations: 114.3 kB / 0.8231 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5405, allocations: 0 / 0.8231 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.101e-05/0.5406, allocations: 10.47 kB / 0.8231 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.5407, allocations: 12.53 kB / 0.8231 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.5418, allocations: 1.36 MB / 0.8244 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.542, allocations: 0.6784 MB / 0.8251 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.263e-05/0.542, allocations: 4.312 kB / 0.8251 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.542, allocations: 12.14 kB / 0.8251 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/0.542, allocations: 0 / 0.8251 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.5627, allocations: 2.032 MB / 0.8271 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.543/7.106, allocations: 12.91 kB / 0.8271 GB, free: 10.41 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Not.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.107257795054466] Failed to read output from testmodel.py, exit status != 0: 7.188937436090782 7.199749976 6.660492558 Calling exit ...