Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.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.0008119/0.0008119, 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.000937/0.000937, 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.9982/0.9982, allocations: 230.6 MB / 256 MB, free: 9.793 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.8163/0.8163, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.Utilities.Validation.Assert,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert",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.0009131/0.0009131, allocations: 72.98 kB / 0.7182 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5224/0.5233, allocations: 102 MB / 0.8178 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001508/0.5248, allocations: 0.6022 MB / 0.8184 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.5259, allocations: 1.15 MB / 0.8195 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.144e-05/0.5259, allocations: 2.219 kB / 0.8195 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.5259, allocations: 4.594 kB / 0.8196 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.101e-05/0.526, allocations: 8.5 kB / 0.8196 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.5264, allocations: 123.1 kB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.5266, allocations: 87.59 kB / 0.8198 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.092e-05/0.5267, allocations: 9.453 kB / 0.8198 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.029e-05/0.5267, allocations: 30.42 kB / 0.8198 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.639e-05/0.5268, allocations: 35.06 kB / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.5268, allocations: 6.406 kB / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.144e-05/0.5269, allocations: 20.92 kB / 0.8199 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.5269, allocations: 6.219 kB / 0.8199 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.699e-05/0.5269, allocations: 26.81 kB / 0.8199 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.5271, allocations: 88.66 kB / 0.82 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.5271, allocations: 2.875 kB / 0.82 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5271, allocations: 0 / 0.82 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.5271, allocations: 4 kB / 0.82 GB, free: 15.85 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003841/0.5275, allocations: 296.2 kB / 0.8203 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.5275, allocations: 11.2 kB / 0.8203 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.611e-05/0.5276, allocations: 31.27 kB / 0.8203 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.5276, allocations: 8.516 kB / 0.8203 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.139e-05/0.5277, allocations: 114.5 kB / 0.8204 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.5277, allocations: 4.109 kB / 0.8204 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.5277, allocations: 5.812 kB / 0.8204 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.237e-05/0.5278, allocations: 37.02 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.5278, allocations: 11.22 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.5278, allocations: 4.5 kB / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5278, allocations: 0 / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.974e-05/0.5278, allocations: 6.062 kB / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003227/0.5282, allocations: 255.2 kB / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.312e-05/0.5282, allocations: 29.98 kB / 0.8208 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.5282, allocations: 7.016 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-06/0.5282, allocations: 4 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.5284, allocations: 66 kB / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.5284, allocations: 1.125 kB / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001645/0.5285, allocations: 65.44 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.5286, allocations: 52.16 kB / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.496e-05/0.5286, allocations: 111.3 kB / 0.8211 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.5287, allocations: 25.7 kB / 0.8211 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.5287, allocations: 92.64 kB / 0.8212 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.636e-06/0.5287, allocations: 4.656 kB / 0.8212 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.5287, allocations: 29.25 kB / 0.8212 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.193e-05/0.5288, allocations: 318.3 kB / 0.8215 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.347e-05/0.5289, allocations: 33.39 kB / 0.8215 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.772e-05/0.5289, allocations: 41.62 kB / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.996e-05/0.529, allocations: 88.94 kB / 0.8217 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.529, allocations: 0 / 0.8217 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001715/0.5292, allocations: 145.4 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.5292, allocations: 38.91 kB / 0.8218 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.5292, allocations: 0 / 0.8218 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.5292, allocations: 0 / 0.8218 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.529e-05/0.5292, allocations: 4.594 kB / 0.8218 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.5292, allocations: 0.8125 kB / 0.8218 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.5294, allocations: 36.41 kB / 0.8219 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.5294, allocations: 6.703 kB / 0.8219 GB, free: 14.04 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.362e-05/0.5295, allocations: 119.8 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.5295, allocations: 4.531 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.075e-05/0.5295, allocations: 8.609 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5295, allocations: 0 / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.5295, allocations: 0 / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.5295, allocations: 4.609 kB / 0.822 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.112e-05/0.5296, allocations: 134.5 kB / 0.8221 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5296, allocations: 3.938 kB / 0.8221 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-06/0.5296, allocations: 0.75 kB / 0.8221 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.5296, allocations: 0 / 0.8221 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-06/0.5296, allocations: 2.969 kB / 0.8221 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.5296, allocations: 0.6562 kB / 0.8221 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5296, allocations: 0 / 0.8221 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.685e-05/0.5297, allocations: 91.72 kB / 0.8222 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-06/0.5297, allocations: 3.406 kB / 0.8222 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-06/0.5297, allocations: 0.5156 kB / 0.8222 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.013e-05/0.5297, allocations: 0.875 kB / 0.8222 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.5297, allocations: 9.141 kB / 0.8222 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.5297, allocations: 8.75 kB / 0.8223 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.711e-05/0.5298, allocations: 80.11 kB / 0.8223 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5298, allocations: 0 / 0.8223 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001419/0.5299, allocations: 20.42 kB / 0.8223 GB, free: 13.56 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.000268/0.5302, allocations: 0.6263 MB / 0.823 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001609/0.5303, allocations: 104.2 kB / 0.8231 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5303, allocations: 0 / 0.8231 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.93e-05/0.5303, allocations: 12.61 kB / 0.8231 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.5305, allocations: 14.19 kB / 0.8231 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009692/0.5315, allocations: 1.361 MB / 0.8244 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.5316, allocations: 0.679 MB / 0.8251 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.14e-05/0.5317, allocations: 1.953 kB / 0.8251 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.5317, allocations: 14.81 kB / 0.8251 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.5317, allocations: 5.188 kB / 0.8251 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.5483, allocations: 2.077 MB / 0.8271 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.621/7.169, allocations: 1.375 kB / 0.8271 GB, free: 10.44 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.296873760176823] Failed to read output from testmodel.py, exit status != 0: 7.248641468118876 7.261098721 6.731868713 Calling exit ...