Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.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.0008398/0.0008398, 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.0008753/0.0008753, allocations: 217.7 kB / 22.26 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.9471/0.9471, allocations: 230.6 MB / 256 MB, free: 9.801 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.7878/0.7878, 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.Nor,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Nor",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.0009679/0.0009679, allocations: 70.55 kB / 0.7182 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5069/0.5078, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00151/0.5094, allocations: 0.6431 MB / 0.8185 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.5106, allocations: 1.23 MB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.5106, allocations: 1 kB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.5107, allocations: 4.641 kB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.686e-05/0.5107, allocations: 19.08 kB / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005488/0.5113, allocations: 214.5 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.5115, allocations: 173.4 kB / 0.8201 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.065e-05/0.5116, allocations: 11.83 kB / 0.8201 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.64e-05/0.5117, allocations: 72.42 kB / 0.8202 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.5118, allocations: 57.11 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.5118, allocations: 17.58 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.547e-05/0.5119, allocations: 33.56 kB / 0.8203 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.5119, allocations: 13.73 kB / 0.8203 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.478e-05/0.5119, allocations: 56.62 kB / 0.8203 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.5122, allocations: 155.5 kB / 0.8205 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5122, allocations: 0.5625 kB / 0.8205 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5122, allocations: 0 / 0.8205 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.5122, 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.000417/0.5126, allocations: 359.8 kB / 0.8208 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.5126, allocations: 10.45 kB / 0.8208 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.754e-05/0.5127, allocations: 31.55 kB / 0.8209 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.5127, allocations: 16.62 kB / 0.8209 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.678e-05/0.5128, allocations: 111 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.5128, allocations: 9.078 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.5128, allocations: 10.62 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.5129, allocations: 55.5 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.5129, allocations: 3.938 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.513, allocations: 0.5156 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.513, allocations: 0.6094 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.766e-05/0.513, allocations: 22.17 kB / 0.8211 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.5134, allocations: 329.9 kB / 0.8214 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.717e-05/0.5135, allocations: 29.8 kB / 0.8214 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.664e-05/0.5135, allocations: 20.72 kB / 0.8215 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.5136, allocations: 6.141 kB / 0.8215 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.5137, allocations: 76.88 kB / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.814e-06/0.5137, allocations: 4 kB / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002004/0.5139, allocations: 103.1 kB / 0.8216 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.514, allocations: 55.34 kB / 0.8217 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.739e-05/0.5141, allocations: 121.3 kB / 0.8218 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.5141, allocations: 33.02 kB / 0.8218 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.5141, allocations: 98.19 kB / 0.8219 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/0.5141, allocations: 13.39 kB / 0.8219 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.5142, allocations: 47.73 kB / 0.822 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.787e-05/0.5143, allocations: 325.4 kB / 0.8223 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.559e-05/0.5144, allocations: 59.28 kB / 0.8224 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.5145, allocations: 94.45 kB / 0.8224 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.5146, allocations: 161.4 kB / 0.8226 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5146, allocations: 0 / 0.8226 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002843/0.5149, allocations: 260.8 kB / 0.8228 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.945e-05/0.5149, allocations: 68.91 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.515, allocations: 1.469 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.515, allocations: 2.625 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.971e-05/0.515, allocations: 8.547 kB / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.515, allocations: 128 / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.5152, allocations: 58.72 kB / 0.823 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.5152, allocations: 12.36 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,nor1.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 7.504e-05/0.5153, allocations: 129.4 kB / 0.8231 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.976e-06/0.5153, allocations: 6.984 kB / 0.8231 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.228e-05/0.5153, allocations: 5.219 kB / 0.8231 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.5153, allocations: 7.875 kB / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5153, allocations: 0 / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5153, allocations: 0.7969 kB / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.504e-05/0.5154, allocations: 153.6 kB / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5154, allocations: 0 / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.322e-06/0.5154, allocations: 10.84 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5154, allocations: 0 / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.5154, allocations: 0.8438 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5154, allocations: 6.812 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.5154, allocations: 0 / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.5155, allocations: 122 kB / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.5156, allocations: 0.6094 kB / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.5156, allocations: 0.6094 kB / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.512e-05/0.5156, allocations: 2.047 kB / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.5156, allocations: 10.95 kB / 0.8234 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.5156, allocations: 2.344 kB / 0.8234 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.5157, allocations: 94.55 kB / 0.8235 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5157, allocations: 0 / 0.8235 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000154/0.5158, allocations: 35.58 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,nor1.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.0003255/0.5161, allocations: 0.6445 MB / 0.8242 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002507/0.5164, allocations: 219 kB / 0.8244 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5164, allocations: 1.5 kB / 0.8244 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.297e-05/0.5164, allocations: 28.42 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.0001851/0.5166, allocations: 20.5 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.001586/0.5182, 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.0001693/0.5184, allocations: 0.69 MB / 0.8268 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.255e-05/0.5184, allocations: 8.547 kB / 0.8268 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.5184, allocations: 17.31 kB / 0.8268 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of SimCode: time 7.92e-07/0.5184, allocations: 0 / 0.8268 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.5364, allocations: 3.024 MB / 0.8298 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.703/7.24, allocations: 6.844 kB / 0.8298 GB, free: 9.488 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Nor.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.23281308892183] Failed to read output from testmodel.py, exit status != 0: 7.319783130893484 7.33887071 6.823325579 Calling exit ...