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.001741/0.001741, allocations: 72.45 kB / 19.02 MB, free: 1.113 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.00211/0.00211, allocations: 168 kB / 22.29 MB, free: 3.516 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.432/1.432, allocations: 177.2 MB / 202.7 MB, free: 4.812 MB / 186.7 MB " [Timeout remaining time 178] 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 1.233/1.233, allocations: 154.7 MB / 413.8 MB, free: 3.156 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: 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.002061/0.002061, allocations: 69.83 kB / 0.6181 GB, free: 1.133 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2185, allocations: 102 MB / 0.7177 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Not): time 0.00181/0.2204, allocations: 0.5866 MB / 0.7182 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.2219, allocations: 1.136 MB / 0.7193 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.2219, allocations: 0 / 0.7193 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.756e-05/0.222, allocations: 11.88 kB / 0.7194 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.96e-05/0.222, allocations: 4 kB / 0.7194 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004496/0.2225, allocations: 121.2 kB / 0.7195 GB, free: 9.391 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.2226, allocations: 91.81 kB / 0.7196 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.747e-05/0.2227, allocations: 4 kB / 0.7196 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.68e-05/0.2228, allocations: 47.91 kB / 0.7196 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.311e-05/0.2229, allocations: 31.94 kB / 0.7196 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.2229, allocations: 8 kB / 0.7196 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.383e-05/0.223, allocations: 19.98 kB / 0.7197 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.223, allocations: 11.94 kB / 0.7197 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.882e-05/0.2231, allocations: 23.98 kB / 0.7197 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.2232, allocations: 84.02 kB / 0.7198 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.634e-06/0.2232, allocations: 0 / 0.7198 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2232, allocations: 0 / 0.7198 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.2232, allocations: 0 / 0.7198 GB, free: 9.074 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.0004599/0.2237, allocations: 300 kB / 0.7201 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2237, allocations: 8.031 kB / 0.7201 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.526e-05/0.2238, allocations: 34.75 kB / 0.7201 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.2238, allocations: 8.891 kB / 0.7201 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.2239, allocations: 110.5 kB / 0.7202 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.2239, allocations: 12.31 kB / 0.7202 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.224, allocations: 4.375 kB / 0.7202 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.2241, allocations: 38.25 kB / 0.7203 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2241, allocations: 3.938 kB / 0.7203 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.2241, allocations: 0 / 0.7203 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2241, allocations: 7.984 kB / 0.7203 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.525e-05/0.2241, allocations: 7.984 kB / 0.7203 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.2245, allocations: 251.9 kB / 0.7205 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.2248, allocations: 18.58 kB / 0.7205 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.145e-05/0.2248, allocations: 12.91 kB / 0.7206 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.748e-06/0.2248, allocations: 4 kB / 0.7206 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.225, allocations: 55.41 kB / 0.7206 GB, free: 8.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.225, allocations: 0 / 0.7206 GB, free: 8.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002085/0.2252, allocations: 69.56 kB / 0.7207 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.2253, allocations: 51.41 kB / 0.7207 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.657e-05/0.2254, allocations: 105.8 kB / 0.7208 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.2254, allocations: 33.7 kB / 0.7209 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/0.2255, allocations: 80.14 kB / 0.7209 GB, free: 7.699 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.2255, allocations: 7.953 kB / 0.721 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.607e-05/0.2255, allocations: 29.7 kB / 0.721 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2257, allocations: 322.7 kB / 0.7213 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.967e-05/0.2258, allocations: 61.67 kB / 0.7213 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.2259, allocations: 80.58 kB / 0.7214 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.226, allocations: 80.2 kB / 0.7215 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.226, allocations: 0 / 0.7215 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002873/0.2263, allocations: 185 kB / 0.7217 GB, free: 6.879 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/0.2264, allocations: 31.58 kB / 0.7217 GB, free: 6.844 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2264, allocations: 4 kB / 0.7217 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.2264, allocations: 96 / 0.7217 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.545e-05/0.2264, allocations: 4 kB / 0.7217 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2264, allocations: 3.984 kB / 0.7217 GB, free: 6.832 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.2266, allocations: 31.86 kB / 0.7217 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.2266, allocations: 12 kB / 0.7218 GB, free: 6.789 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 0.0001036/0.2267, allocations: 117.7 kB / 0.7219 GB, free: 6.664 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.2268, allocations: 3.938 kB / 0.7219 GB, free: 6.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.23e-05/0.2268, allocations: 7.688 kB / 0.7219 GB, free: 6.652 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2268, allocations: 0 / 0.7219 GB, free: 6.652 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2268, allocations: 7.984 kB / 0.7219 GB, free: 6.645 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.2268, allocations: 0 / 0.7219 GB, free: 6.645 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.2269, allocations: 132.7 kB / 0.722 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2269, allocations: 4 kB / 0.722 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-06/0.2269, allocations: 0 / 0.722 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.2269, allocations: 0 / 0.722 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.2269, allocations: 0 / 0.722 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2269, allocations: 0 / 0.722 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2269, allocations: 0 / 0.722 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.2271, allocations: 81.3 kB / 0.7221 GB, free: 6.371 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.2271, allocations: 11.97 kB / 0.7221 GB, free: 6.359 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.2271, allocations: 8 kB / 0.7221 GB, free: 6.352 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.325e-05/0.2271, allocations: 0 / 0.7221 GB, free: 6.352 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.528e-05/0.2271, allocations: 3.938 kB / 0.7221 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.2271, allocations: 4 kB / 0.7221 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.025e-05/0.2272, allocations: 87.27 kB / 0.7222 GB, free: 6.258 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2272, allocations: 0 / 0.7222 GB, free: 6.258 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002182/0.2274, allocations: 12 kB / 0.7222 GB, free: 6.246 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.0004752/0.2279, allocations: 0.6147 MB / 0.7228 GB, free: 5.602 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.2281, allocations: 137.1 kB / 0.7229 GB, free: 5.449 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.2281, allocations: 8.062 kB / 0.723 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.38e-05/0.2281, allocations: 4 kB / 0.723 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.2284, allocations: 16.11 kB / 0.723 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.23, allocations: 1.501 MB / 0.7244 GB, free: 3.793 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.821e-05/0.23, allocations: 63.34 kB / 0.7245 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.682e-05/0.2301, allocations: 0 / 0.7245 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.2301, allocations: 8.5 kB / 0.7245 GB, free: 3.703 MB / 0.6198 GB Notification: Performance of SimCode: time 4.1e-07/0.2301, allocations: 8 kB / 0.7245 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03277/0.2629, allocations: 2.64 MB / 0.7271 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.43, allocations: 4.688 kB / 0.7271 GB, free: 1.176 MB / 0.6198 GB " [Timeout remaining time 648] (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: 15.426735763001489] Failed to read output from testmodel.py, exit status != 0: 11.535088691001874 11.567801627 11.33866304 Calling exit ...