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.0007686/0.0007686, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001292/0.001292, allocations: 211.6 kB / 22.25 MB, free: 3.586 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 1.001/1.001, allocations: 230.6 MB / 256 MB, free: 9.414 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.8043/0.8043, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.0009145/0.0009145, allocations: 66.78 kB / 0.7182 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4986/0.4996, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Not): time 0.001505/0.5011, allocations: 0.6045 MB / 0.8184 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.5021, allocations: 1.134 MB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.309e-05/0.5021, allocations: 0 / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.208e-05/0.5022, allocations: 4.688 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.285e-05/0.5022, allocations: 8.516 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.5027, allocations: 121.1 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.5028, allocations: 85.22 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.396e-05/0.5029, allocations: 6.578 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.843e-05/0.503, allocations: 37.92 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.598e-05/0.5031, allocations: 26.52 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.5031, allocations: 7.844 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.269e-05/0.5032, allocations: 20.67 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.34e-05/0.5032, allocations: 7.25 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.06e-05/0.5033, allocations: 25.05 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.5034, allocations: 84.55 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5034, allocations: 0.875 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5034, allocations: 0 / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.5034, allocations: 2 kB / 0.8199 GB, free: 15.66 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.0004553/0.5039, allocations: 306.2 kB / 0.8202 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.5039, allocations: 9.812 kB / 0.8202 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.423e-05/0.504, allocations: 36.97 kB / 0.8202 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.504, allocations: 8.578 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.731e-05/0.5041, allocations: 110.4 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.5041, allocations: 2.969 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.5041, allocations: 4.156 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.908e-05/0.5042, allocations: 40.8 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.5042, allocations: 3.938 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.5042, allocations: 0.6562 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.5042, allocations: 2.344 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.339e-05/0.5042, allocations: 13.41 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.5045, allocations: 251.9 kB / 0.8207 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.16e-05/0.5046, allocations: 17.89 kB / 0.8207 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.409e-05/0.5046, allocations: 13.31 kB / 0.8207 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.5046, allocations: 0 / 0.8207 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.5047, allocations: 57.42 kB / 0.8208 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.5048, allocations: 0 / 0.8208 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001591/0.5049, allocations: 69.02 kB / 0.8208 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.5049, allocations: 52.81 kB / 0.8209 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.12e-05/0.505, allocations: 111.3 kB / 0.821 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.505, allocations: 27.75 kB / 0.821 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.831e-05/0.5051, allocations: 84.36 kB / 0.8211 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.536e-06/0.5051, allocations: 5.859 kB / 0.8211 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.5051, allocations: 33.38 kB / 0.8211 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.5052, allocations: 319.6 kB / 0.8214 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.842e-05/0.5053, allocations: 58.52 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.5053, allocations: 82.11 kB / 0.8216 GB, free: 14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.908e-05/0.5054, allocations: 76.62 kB / 0.8216 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.5054, allocations: 8 kB / 0.8216 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001769/0.5056, allocations: 176.1 kB / 0.8218 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.5056, allocations: 34.7 kB / 0.8218 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5056, allocations: 0 / 0.8218 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.5056, allocations: 2.188 kB / 0.8218 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.669e-05/0.5057, allocations: 1.703 kB / 0.8218 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.5057, allocations: 5.625 kB / 0.8218 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.5058, allocations: 31.58 kB / 0.8219 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.5058, allocations: 10.19 kB / 0.8219 GB, free: 13.75 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.91e-05/0.5059, allocations: 115.9 kB / 0.822 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-06/0.5059, allocations: 3.125 kB / 0.822 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.5059, allocations: 8.391 kB / 0.822 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5059, allocations: 0.7812 kB / 0.822 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.5059, allocations: 7.125 kB / 0.822 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.5059, allocations: 0.6562 kB / 0.822 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.382e-05/0.506, allocations: 128.9 kB / 0.8221 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.506, allocations: 0 / 0.8221 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.371e-06/0.506, allocations: 6.109 kB / 0.8221 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.506, allocations: 4 kB / 0.8221 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.506, allocations: 1.734 kB / 0.8222 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.506, allocations: 0 / 0.8222 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.506, allocations: 0.6562 kB / 0.8222 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.015e-05/0.5061, allocations: 85.31 kB / 0.8222 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-06/0.5061, allocations: 5.609 kB / 0.8222 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.5061, allocations: 1.672 kB / 0.8222 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.248e-05/0.5062, allocations: 2 kB / 0.8222 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.5062, allocations: 3.062 kB / 0.8222 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.5062, allocations: 5.406 kB / 0.8223 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.003e-05/0.5062, allocations: 80.48 kB / 0.8223 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5062, allocations: 4 kB / 0.8223 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001471/0.5064, allocations: 20.25 kB / 0.8224 GB, free: 13.29 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.0003407/0.5067, allocations: 0.6206 MB / 0.823 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002085/0.5069, allocations: 137.8 kB / 0.8231 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5069, allocations: 0 / 0.8231 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.418e-05/0.5069, allocations: 11.69 kB / 0.8231 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.5071, allocations: 11.48 kB / 0.8231 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.5082, allocations: 1.489 MB / 0.8246 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.044e-05/0.5082, allocations: 63.31 kB / 0.8246 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.122e-05/0.5082, allocations: 5.484 kB / 0.8246 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.5083, allocations: 14.41 kB / 0.8246 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.5083, allocations: 0 / 0.8246 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01594/0.5242, allocations: 2.541 MB / 0.8271 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.488/7.012, allocations: 6.672 kB / 0.8271 GB, free: 10.17 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.035171627998352] Failed to read output from testmodel.py, exit status != 0: 7.091020702850074 7.103666011 6.598084313 Calling exit ...