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.0007316/0.0007316, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0007811/0.0007811, allocations: 209.2 kB / 22.24 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.9355/0.9355, allocations: 230.6 MB / 256 MB, free: 9.582 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.7925/0.7925, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.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: 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.00112/0.00112, allocations: 74.84 kB / 0.7182 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5342/0.5353, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001613/0.5369, allocations: 0.8475 MB / 0.8186 GB, free: 0.4922 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.5383, allocations: 1.311 MB / 0.8199 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.688e-05/0.5384, allocations: 1.781 kB / 0.8199 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.5385, allocations: 18.52 kB / 0.8199 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.022e-05/0.5386, allocations: 44.5 kB / 0.82 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006364/0.5392, allocations: 261.4 kB / 0.8202 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.5396, allocations: 327.9 kB / 0.8205 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.5397, allocations: 36.27 kB / 0.8206 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.5399, allocations: 138.2 kB / 0.8207 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.54, allocations: 93.62 kB / 0.8208 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.658e-05/0.5401, allocations: 27.53 kB / 0.8208 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.496e-05/0.5402, allocations: 53.86 kB / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.233e-05/0.5403, allocations: 45.88 kB / 0.8209 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.5404, allocations: 105.7 kB / 0.821 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.5407, allocations: 347 kB / 0.8213 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5407, allocations: 3.406 kB / 0.8213 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5407, allocations: 0 / 0.8213 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.5407, allocations: 0 / 0.8213 GB, free: 14.88 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005706/0.5413, allocations: 488 kB / 0.8218 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.5414, allocations: 9.438 kB / 0.8218 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.5414, allocations: 45.8 kB / 0.8219 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002809/0.5417, allocations: 61.23 kB / 0.8219 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.5421, allocations: 232.4 kB / 0.8221 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.5421, allocations: 16.25 kB / 0.8221 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.5421, allocations: 27.81 kB / 0.8222 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.5423, allocations: 157 kB / 0.8223 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.5423, allocations: 0 / 0.8223 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.5424, allocations: 6.422 kB / 0.8223 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.5424, allocations: 2.625 kB / 0.8223 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.5425, allocations: 64.33 kB / 0.8224 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009195/0.5434, allocations: 0.6747 MB / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.413e-05/0.5435, allocations: 65.98 kB / 0.8231 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.917e-05/0.5435, allocations: 22.69 kB / 0.8231 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.5435, allocations: 0.5 kB / 0.8231 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/0.5438, allocations: 102.5 kB / 0.8232 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.5438, allocations: 0 / 0.8232 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002778/0.5441, allocations: 127.5 kB / 0.8234 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.5441, allocations: 80.25 kB / 0.8234 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.5443, allocations: 218.1 kB / 0.8236 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.5443, allocations: 30.42 kB / 0.8237 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.5444, allocations: 151.9 kB / 0.8238 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.5444, allocations: 19.83 kB / 0.8238 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.803e-05/0.5445, allocations: 62.75 kB / 0.8239 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.395e-05/0.5446, allocations: 333.6 kB / 0.8242 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.5448, allocations: 125.9 kB / 0.8243 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.5449, allocations: 242.8 kB / 0.8246 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.5451, allocations: 198.3 kB / 0.8248 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.5451, allocations: 2.016 kB / 0.8248 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003795/0.5455, allocations: 356.1 kB / 0.8251 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.7e-05/0.5456, allocations: 72.03 kB / 0.8252 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.5456, allocations: 2.156 kB / 0.8252 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.5456, allocations: 2.344 kB / 0.8252 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.621e-05/0.5456, allocations: 13.16 kB / 0.8252 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.5457, allocations: 7.312 kB / 0.8252 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.5459, allocations: 56.75 kB / 0.8252 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.5459, allocations: 17.39 kB / 0.8253 GB, free: 11.66 MB / 0.6198 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.00012/0.546, allocations: 150.4 kB / 0.8254 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.546, allocations: 19.98 kB / 0.8254 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.753e-05/0.5461, allocations: 20.39 kB / 0.8254 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.5461, allocations: 1.219 kB / 0.8254 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.5461, allocations: 0 / 0.8254 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5461, allocations: 2.062 kB / 0.8254 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.5462, allocations: 202.6 kB / 0.8256 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5462, allocations: 5.969 kB / 0.8256 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-05/0.5463, allocations: 4.391 kB / 0.8256 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5463, allocations: 1.859 kB / 0.8256 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.5463, allocations: 1.578 kB / 0.8256 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5463, allocations: 1.688 kB / 0.8256 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5463, allocations: 1.531 kB / 0.8257 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.5464, allocations: 143.4 kB / 0.8258 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.953e-05/0.5464, allocations: 16.89 kB / 0.8258 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.5465, allocations: 6.594 kB / 0.8258 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.096e-05/0.5465, allocations: 2.312 kB / 0.8258 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.5465, allocations: 4.953 kB / 0.8258 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.5465, allocations: 5.734 kB / 0.8258 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001202/0.5466, allocations: 148.8 kB / 0.826 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5466, allocations: 0 / 0.826 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001966/0.5468, allocations: 43.61 kB / 0.826 GB, free: 11.08 MB / 0.6198 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.000409/0.5472, allocations: 0.6855 MB / 0.8267 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000345/0.5476, allocations: 295.4 kB / 0.827 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5476, allocations: 0 / 0.827 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.807e-05/0.5476, allocations: 30.83 kB / 0.827 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.5479, allocations: 38.94 kB / 0.827 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.5503, allocations: 2.449 MB / 0.8294 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.5505, allocations: 121.8 kB / 0.8295 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.388e-05/0.5506, allocations: 23.7 kB / 0.8296 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.332e-05/0.5507, allocations: 53.02 kB / 0.8296 GB, free: 8.102 MB / 0.6198 GB Notification: Performance of SimCode: time 1.803e-06/0.5507, allocations: 0 / 0.8296 GB, free: 8.102 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/0.5744, allocations: 5.072 MB / 0.8346 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.552/7.127, allocations: 4.109 kB / 0.8346 GB, free: 6.957 MB / 0.6198 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.14239744283259] Failed to read output from testmodel.py, exit status != 0: 7.20863493392244 7.221165176 6.678086825 Calling exit ...