Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.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.001161/0.001161, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001784/0.001784, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.9872/0.9872, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.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.7843/0.7843, allocations: 203.5 MB / 0.5039 GB, free: 10.73 MB / 410.7 MB " [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.Reals.Sources.Validation.Pulse,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",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.001013/0.001013, allocations: 68.17 kB / 0.7178 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5445/0.5455, allocations: 102 MB / 0.8174 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001853/0.5473, allocations: 0.701 MB / 0.8181 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.5486, allocations: 1.162 MB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.034e-05/0.5487, allocations: 0 / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.418e-05/0.5487, allocations: 3.938 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.307e-05/0.5488, allocations: 10.8 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.5493, allocations: 143.9 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.5495, allocations: 120.8 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.5496, allocations: 10.5 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.521e-05/0.5497, allocations: 47.92 kB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.5498, allocations: 32.66 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.5498, allocations: 12.88 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.585e-05/0.5499, allocations: 27.84 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.762e-05/0.5499, allocations: 13.38 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.349e-05/0.55, allocations: 32.58 kB / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.5502, allocations: 142 kB / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5502, allocations: 0.7031 kB / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5502, allocations: 1.938 kB / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.5502, allocations: 3.938 kB / 0.8198 GB, free: 15.71 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005056/0.5507, allocations: 321.1 kB / 0.8201 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.5508, allocations: 11.56 kB / 0.8201 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.107e-05/0.5508, allocations: 31.36 kB / 0.8201 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.5508, allocations: 9.391 kB / 0.8202 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.551, allocations: 119 kB / 0.8203 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.551, allocations: 7.406 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.551, allocations: 7.406 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.5511, allocations: 48.91 kB / 0.8203 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.5511, allocations: 3.938 kB / 0.8203 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.5511, allocations: 4.547 kB / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.5511, allocations: 2.344 kB / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.618e-05/0.5512, allocations: 16.09 kB / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.5516, allocations: 281.3 kB / 0.8206 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.52e-05/0.5517, allocations: 27.28 kB / 0.8207 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.583e-05/0.5517, allocations: 12.41 kB / 0.8207 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.5517, allocations: 0.5938 kB / 0.8207 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.5519, allocations: 75.17 kB / 0.8207 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.803e-06/0.5519, allocations: 0 / 0.8207 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002377/0.5522, allocations: 71.8 kB / 0.8208 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.5522, allocations: 55.92 kB / 0.8209 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.5523, allocations: 125.7 kB / 0.821 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.5524, allocations: 29.64 kB / 0.821 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/0.5524, allocations: 87.92 kB / 0.8211 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.5524, allocations: 11.83 kB / 0.8211 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.5525, allocations: 31.7 kB / 0.8211 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.423e-05/0.5526, allocations: 321.3 kB / 0.8214 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.869e-05/0.5527, allocations: 71.16 kB / 0.8215 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.112e-05/0.5528, allocations: 94.34 kB / 0.8216 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.5529, allocations: 90.5 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5529, allocations: 0 / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002398/0.5531, allocations: 194.5 kB / 0.8219 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/0.5532, allocations: 39.08 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.5532, allocations: 1.5 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.5532, allocations: 1.828 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.023e-05/0.5532, allocations: 7.312 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.5533, allocations: 5.25 kB / 0.8219 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.5534, allocations: 25.53 kB / 0.8219 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.5534, allocations: 11.81 kB / 0.822 GB, free: 13.71 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 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 8.396e-05/0.5535, allocations: 118.4 kB / 0.8221 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.5535, allocations: 12.27 kB / 0.8221 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.5536, allocations: 6.797 kB / 0.8221 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5536, allocations: 0.6094 kB / 0.8221 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5536, allocations: 0 / 0.8221 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.5536, allocations: 4.656 kB / 0.8221 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.5537, allocations: 145.9 kB / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5537, allocations: 0 / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-05/0.5537, allocations: 3.328 kB / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5537, allocations: 0 / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.5537, allocations: 1.547 kB / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.5537, allocations: 3 kB / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5537, allocations: 0 / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.5538, allocations: 96.67 kB / 0.8223 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.5538, allocations: 8 kB / 0.8223 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.5539, allocations: 0.8438 kB / 0.8223 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.031e-05/0.5539, allocations: 11.28 kB / 0.8224 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.5539, allocations: 2.156 kB / 0.8224 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.5539, allocations: 1.438 kB / 0.8224 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.657e-05/0.554, allocations: 99.28 kB / 0.8224 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.554, allocations: 0 / 0.8224 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001693/0.5541, allocations: 19.69 kB / 0.8225 GB, free: 13.22 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,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0003798/0.5545, allocations: 0.6376 MB / 0.8231 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.5547, allocations: 153.8 kB / 0.8232 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5547, allocations: 128 / 0.8232 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.994e-05/0.5548, allocations: 23.38 kB / 0.8233 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.555, allocations: 18.48 kB / 0.8233 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.5568, allocations: 1.622 MB / 0.8249 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.207e-05/0.5568, allocations: 68.36 kB / 0.8249 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.16e-05/0.5569, allocations: 3.984 kB / 0.8249 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.5569, allocations: 19.78 kB / 0.8249 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/0.5569, allocations: 0 / 0.8249 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/0.5772, allocations: 3.011 MB / 0.8279 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.292/7.869, allocations: 1.562 kB / 0.8279 GB, free: 9.977 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.853454201947898] Failed to read output from testmodel.py, exit status != 0: 7.9472412639297545 7.961322141 7.408206449 Calling exit ...