Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001358/0.001358, 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.001605/0.001605, 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.9745/0.9745, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.7286/0.7286, allocations: 154.6 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Routing.Validation.IntegerExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.326e-06/3.326e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.929e-05, allocations: 5.562 kB / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001709/0.001738, allocations: 0.8315 MB / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.003641, allocations: 1.326 MB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.43e-05/0.003735, allocations: 0 / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.003858, allocations: 15.8 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.118e-05/0.003939, allocations: 43.72 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007371/0.004677, allocations: 265.7 kB / 0.6205 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004357/0.005112, allocations: 327.3 kB / 0.6208 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.005318, allocations: 41.66 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.005602, allocations: 187.7 kB / 0.621 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.005776, allocations: 87.75 kB / 0.6211 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.352e-05/0.005819, allocations: 28 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.005927, allocations: 55.91 kB / 0.6212 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.721e-05/0.005994, allocations: 39.84 kB / 0.6212 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.009e-05/0.006084, allocations: 91.8 kB / 0.6213 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.006451, allocations: 382.9 kB / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.006454, allocations: 0 / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.984e-06/0.006456, allocations: 4 kB / 0.6216 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.006462, allocations: 0 / 0.6216 GB, free: 10.01 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.0006577/0.00712, allocations: 484.7 kB / 0.6221 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.007168, allocations: 9.469 kB / 0.6221 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.796e-05/0.007206, allocations: 42.73 kB / 0.6222 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002888/0.007494, allocations: 68.77 kB / 0.6222 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.007938, allocations: 238.1 kB / 0.6225 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.007967, allocations: 16.31 kB / 0.6225 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.007996, allocations: 20.38 kB / 0.6225 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.008196, allocations: 148.4 kB / 0.6226 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.008204, allocations: 192 / 0.6226 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.008217, allocations: 4.375 kB / 0.6226 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.008225, allocations: 7.938 kB / 0.6226 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.835e-05/0.008313, allocations: 71.89 kB / 0.6227 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000627/0.00894, allocations: 0.668 MB / 0.6234 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.137e-05/0.009022, allocations: 61.23 kB / 0.6234 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.733e-05/0.009049, allocations: 21.78 kB / 0.6234 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.00907, allocations: 7.922 kB / 0.6234 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.009312, allocations: 101 kB / 0.6235 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.009313, allocations: 0 / 0.6235 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002524/0.009565, allocations: 129.9 kB / 0.6237 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.009606, allocations: 81.11 kB / 0.6237 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.009755, allocations: 220.7 kB / 0.624 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.00978, allocations: 37.64 kB / 0.624 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.751e-05/0.009867, allocations: 156.1 kB / 0.6241 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.009882, allocations: 11.91 kB / 0.6242 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.208e-05/0.009964, allocations: 61.69 kB / 0.6242 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.01009, allocations: 330.8 kB / 0.6245 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.01024, allocations: 127.4 kB / 0.6246 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.01039, allocations: 242.6 kB / 0.6249 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.01059, allocations: 202.2 kB / 0.6251 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.0106, allocations: 0 / 0.6251 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003488/0.01095, allocations: 368.1 kB / 0.6254 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.931e-05/0.011, allocations: 67.39 kB / 0.6255 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.011, allocations: 0 / 0.6255 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.01102, allocations: 4 kB / 0.6255 GB, free: 5.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.36e-05/0.01108, allocations: 12.17 kB / 0.6255 GB, free: 5.668 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.01109, allocations: 11.94 kB / 0.6255 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.01132, allocations: 55.83 kB / 0.6256 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.01134, allocations: 16 kB / 0.6256 GB, free: 5.586 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.0001298/0.01147, allocations: 145.8 kB / 0.6257 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.01149, allocations: 15.84 kB / 0.6257 GB, free: 5.418 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.01161, allocations: 21.03 kB / 0.6258 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.01161, allocations: 0 / 0.6258 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.01162, allocations: 0 / 0.6258 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.01163, allocations: 3.984 kB / 0.6258 GB, free: 5.391 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.01178, allocations: 192.7 kB / 0.6259 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.01178, allocations: 7.938 kB / 0.626 GB, free: 5.152 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.286e-05/0.0118, allocations: 7.938 kB / 0.626 GB, free: 5.145 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.01181, allocations: 0 / 0.626 GB, free: 5.145 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.01182, allocations: 3.984 kB / 0.626 GB, free: 5.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.01182, allocations: 4 kB / 0.626 GB, free: 5.137 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01182, allocations: 0 / 0.626 GB, free: 5.137 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.01197, allocations: 133.9 kB / 0.6261 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.01199, allocations: 19.8 kB / 0.6261 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.01201, allocations: 4 kB / 0.6261 GB, free: 4.961 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/0.01203, allocations: 3.938 kB / 0.6261 GB, free: 4.957 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.01206, allocations: 11.98 kB / 0.6261 GB, free: 4.945 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.01206, allocations: 0 / 0.6261 GB, free: 4.945 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.036e-05/0.01215, allocations: 157.4 kB / 0.6263 GB, free: 4.793 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01215, allocations: 0 / 0.6263 GB, free: 4.793 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002044/0.01236, allocations: 39.94 kB / 0.6263 GB, free: 4.754 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.0004508/0.01281, allocations: 0.6832 MB / 0.627 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003579/0.01317, allocations: 306.1 kB / 0.6273 GB, free: 3.707 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.01317, allocations: 3.938 kB / 0.6273 GB, free: 3.703 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.924e-05/0.01321, allocations: 20 kB / 0.6273 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.01347, allocations: 38.84 kB / 0.6273 GB, free: 3.648 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.0161, allocations: 2.436 MB / 0.6297 GB, free: 1.012 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.753e-05/0.01619, allocations: 116.1 kB / 0.6298 GB, free: 0.8828 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.184e-05/0.01626, allocations: 25.47 kB / 0.6299 GB, free: 0.8555 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.064e-05/0.01633, allocations: 60.47 kB / 0.6299 GB, free: 0.7969 MB / 0.5886 GB Notification: Performance of SimCode: time 1.052e-06/0.01633, allocations: 0 / 0.6299 GB, free: 0.7969 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.03952, allocations: 5.177 MB / 0.635 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.045/7.085, allocations: 0 / 0.635 GB, free: 11.86 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.053661139681935] Failed to read output from testmodel.py, exit status != 0: 7.169228979386389 7.181433362 7.172806794 Calling exit ...