Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.0007418/0.0007418, 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.0008112/0.0008112, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.742 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.7324/0.7324, allocations: 154.6 MB / 413.8 MB, free: 0.7891 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.Routing.Validation.IntegerExtractSignal,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.07e-06/5.07e-06, allocations: 4 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.757e-05, allocations: 3.375 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002262/0.00229, allocations: 0.836 MB / 0.6189 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.003775, allocations: 1.318 MB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.63e-05/0.003852, allocations: 0 / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.003961, allocations: 15.8 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.669e-05/0.004038, allocations: 43.72 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006433/0.004681, allocations: 273 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.004981, allocations: 327.4 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.00513, allocations: 41.66 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.005313, allocations: 179.8 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.005453, allocations: 95.72 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.005491, allocations: 28 kB / 0.6212 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.928e-05/0.00558, allocations: 43.94 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.6e-05/0.005646, allocations: 47.83 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.64e-05/0.005733, allocations: 91.81 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.006043, allocations: 382.9 kB / 0.6217 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.006047, allocations: 4 kB / 0.6217 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.653e-06/0.006049, allocations: 0 / 0.6217 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.006055, allocations: 4 kB / 0.6217 GB, free: 9.938 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005831/0.006638, allocations: 480.7 kB / 0.6222 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.006676, allocations: 8.031 kB / 0.6222 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.006712, allocations: 50.73 kB / 0.6222 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002662/0.006978, allocations: 68.75 kB / 0.6223 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.007385, allocations: 237.5 kB / 0.6225 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.007407, allocations: 12.38 kB / 0.6225 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.007434, allocations: 20.38 kB / 0.6225 GB, free: 9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.007614, allocations: 149.5 kB / 0.6227 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.007622, allocations: 192 / 0.6227 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.007635, allocations: 4.375 kB / 0.6227 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.007643, allocations: 7.938 kB / 0.6227 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.074e-05/0.007733, allocations: 67.91 kB / 0.6228 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.00831, allocations: 0.6757 MB / 0.6234 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.145e-05/0.008392, allocations: 57.25 kB / 0.6235 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.00842, allocations: 25.77 kB / 0.6235 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.008431, allocations: 3.938 kB / 0.6235 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.008626, allocations: 105 kB / 0.6236 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.008628, allocations: 0 / 0.6236 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002326/0.00886, allocations: 121.6 kB / 0.6237 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.008907, allocations: 89.05 kB / 0.6238 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.009059, allocations: 216.7 kB / 0.624 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.009084, allocations: 37.69 kB / 0.6241 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/0.009172, allocations: 144.2 kB / 0.6242 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.085e-05/0.009183, allocations: 11.91 kB / 0.6242 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.668e-05/0.009259, allocations: 65.67 kB / 0.6243 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.407e-05/0.009343, allocations: 326.8 kB / 0.6246 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.009481, allocations: 127.4 kB / 0.6247 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.009633, allocations: 246.3 kB / 0.6249 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.009789, allocations: 202.1 kB / 0.6251 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.009792, allocations: 4 kB / 0.6251 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003236/0.01012, allocations: 368.1 kB / 0.6255 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.591e-05/0.01016, allocations: 67.39 kB / 0.6255 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.01017, allocations: 0 / 0.6255 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.01018, allocations: 4 kB / 0.6255 GB, free: 5.605 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.502e-05/0.01024, allocations: 8.188 kB / 0.6256 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.01024, allocations: 8 kB / 0.6256 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.01042, allocations: 55.83 kB / 0.6256 GB, free: 5.535 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.01045, allocations: 19.98 kB / 0.6256 GB, free: 5.516 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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 0.0001059/0.01055, allocations: 146.2 kB / 0.6258 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.01057, allocations: 15.84 kB / 0.6258 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.0106, allocations: 25.02 kB / 0.6258 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.0106, allocations: 3.984 kB / 0.6258 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.01061, allocations: 0 / 0.6258 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01061, allocations: 0 / 0.6258 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.01074, allocations: 196.6 kB / 0.626 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.01075, allocations: 7.938 kB / 0.626 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.641e-05/0.01076, allocations: 4 kB / 0.626 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.01076, allocations: 0 / 0.626 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.01077, allocations: 4 kB / 0.626 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01077, allocations: 0 / 0.626 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.01078, allocations: 7.938 kB / 0.626 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.01091, allocations: 133.9 kB / 0.6262 GB, free: 4.91 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.01093, allocations: 23.78 kB / 0.6262 GB, free: 4.887 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.01094, allocations: 4 kB / 0.6262 GB, free: 4.883 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.131e-05/0.01096, allocations: 4 kB / 0.6262 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.01099, allocations: 7.984 kB / 0.6262 GB, free: 4.871 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.01099, allocations: 0 / 0.6262 GB, free: 4.871 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.318e-05/0.01108, allocations: 149.5 kB / 0.6263 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01108, allocations: 0 / 0.6263 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001907/0.01127, allocations: 43.94 kB / 0.6264 GB, free: 4.684 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0004108/0.01168, allocations: 0.6872 MB / 0.627 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003234/0.012, allocations: 302 kB / 0.6273 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.012, allocations: 0 / 0.6273 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.541e-05/0.01205, allocations: 27.92 kB / 0.6274 GB, free: 3.605 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.01227, allocations: 38.69 kB / 0.6274 GB, free: 3.57 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.01417, allocations: 2.432 MB / 0.6298 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.64e-05/0.01427, allocations: 119.5 kB / 0.6299 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.033e-05/0.01434, allocations: 29.47 kB / 0.6299 GB, free: 0.7773 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.0144, allocations: 52.48 kB / 0.63 GB, free: 0.7266 MB / 0.5886 GB Notification: Performance of SimCode: time 1.012e-06/0.0144, allocations: 0 / 0.63 GB, free: 0.7266 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.03504, allocations: 5.18 MB / 0.635 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.096/7.131, allocations: 12.7 kB / 0.635 GB, free: 11.77 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.966525853611529] Failed to read output from testmodel.py, exit status != 0: 7.21776217315346 7.229386543 7.221393637 Calling exit ...