Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00116/0.00116, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001326/0.001326, allocations: 169.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.889/0.889, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7206/0.7206, allocations: 154.6 MB / 413.8 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.607e-05, allocations: 9.766 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Not): time 0.001422/0.001448, allocations: 0.5938 MB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.002546, allocations: 1.131 MB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.504e-05/0.002581, allocations: 4 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.362e-05/0.002604, allocations: 0 / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.607e-05/0.00266, allocations: 7.922 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.003056, allocations: 130.2 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.003178, allocations: 87.83 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.597e-05/0.003254, allocations: 7.938 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.547e-05/0.00333, allocations: 51.95 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.479e-05/0.003404, allocations: 27.89 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.003424, allocations: 8 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.083e-05/0.003474, allocations: 12 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.003493, allocations: 8 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.003535, allocations: 27.95 kB / 0.6202 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.003668, allocations: 103.7 kB / 0.6203 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.00367, allocations: 0 / 0.6203 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.21e-07/0.003671, allocations: 0 / 0.6203 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.003674, allocations: 0 / 0.6203 GB, free: 11.48 MB / 0.5886 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.0003394/0.004014, allocations: 296 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.004053, allocations: 8.031 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.393e-05/0.004077, allocations: 34.75 kB / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.004108, allocations: 8.891 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.603e-05/0.004174, allocations: 105.8 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.004186, allocations: 4.312 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.004199, allocations: 8.375 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.666e-05/0.004276, allocations: 42.25 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.004283, allocations: 192 / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.004291, allocations: 384 / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.004297, allocations: 4.125 kB / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.284e-05/0.00433, allocations: 15.98 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.004621, allocations: 236 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.343e-05/0.004664, allocations: 22.52 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.275e-05/0.004677, allocations: 8.844 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.004686, allocations: 8 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/0.004809, allocations: 55.36 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.00481, allocations: 4 kB / 0.6211 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001496/0.00496, allocations: 69.61 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.004991, allocations: 51.41 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.587e-05/0.005047, allocations: 105.8 kB / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.005063, allocations: 25.7 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.005101, allocations: 92.09 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.218e-06/0.00511, allocations: 7.984 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.005151, allocations: 33.64 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.952e-05/0.00523, allocations: 318.8 kB / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.37e-05/0.005294, allocations: 57.67 kB / 0.6218 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.405e-05/0.005358, allocations: 84.27 kB / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.125e-05/0.005429, allocations: 80.44 kB / 0.622 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.005431, allocations: 3.938 kB / 0.622 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001695/0.005601, allocations: 188.9 kB / 0.6221 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.005626, allocations: 33.7 kB / 0.6222 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.00563, allocations: 0 / 0.6222 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.005642, allocations: 4 kB / 0.6222 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.37e-05/0.005656, allocations: 320 / 0.6222 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.005661, allocations: 8.078 kB / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.005794, allocations: 31.91 kB / 0.6222 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.005807, allocations: 4 kB / 0.6222 GB, free: 9.203 MB / 0.5886 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.411e-05/0.005871, allocations: 118.8 kB / 0.6223 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-06/0.005877, allocations: 3.938 kB / 0.6223 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.833e-05/0.005895, allocations: 7.625 kB / 0.6223 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.005898, allocations: 3.984 kB / 0.6223 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.005902, allocations: 4 kB / 0.6224 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.005905, allocations: 0 / 0.6224 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.307e-05/0.005978, allocations: 132.8 kB / 0.6225 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.00598, allocations: 3.938 kB / 0.6225 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-06/0.005984, allocations: 4 kB / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.005985, allocations: 0 / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-06/0.00599, allocations: 0 / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.00599, allocations: 0 / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.005991, allocations: 0 / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.653e-05/0.006058, allocations: 77.08 kB / 0.6226 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-06/0.006066, allocations: 11.92 kB / 0.6226 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.395e-06/0.006074, allocations: 0 / 0.6226 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.617e-06/0.006083, allocations: 4 kB / 0.6226 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.006102, allocations: 4 kB / 0.6226 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.006105, allocations: 0 / 0.6226 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.853e-05/0.006133, allocations: 87.2 kB / 0.6227 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006133, allocations: 0 / 0.6227 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001399/0.006273, allocations: 20 kB / 0.6227 GB, free: 8.656 MB / 0.5886 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.0002553/0.006528, allocations: 0.6202 MB / 0.6233 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001797/0.006708, allocations: 133 kB / 0.6234 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.00671, allocations: 0 / 0.6234 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.994e-05/0.006729, allocations: 16.19 kB / 0.6234 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.006898, allocations: 7.984 kB / 0.6234 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.008106, allocations: 1.481 MB / 0.6249 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.254e-05/0.008158, allocations: 67.28 kB / 0.6249 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.162e-05/0.00818, allocations: 0 / 0.6249 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.008216, allocations: 16.5 kB / 0.625 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.008216, allocations: 0 / 0.625 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.02459, allocations: 2.666 MB / 0.6276 GB, free: 3.629 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.725/6.75, allocations: 8.578 kB / 0.6276 GB, free: 3.625 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Not.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.441227911040187] Failed to read output from testmodel.py, exit status != 0: 6.82839450519532 6.836634059 6.831366186 Calling exit ...