Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 244.8 MB, free: 14.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 207.4 kB / 299.8 MB, free: 9.867 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04088/0.04088, allocations: 8.942 MB / 363.6 MB, free: 10.22 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.VariablesTypes.InitializationParameters,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_InitializationParameters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.InitializationParameters,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_InitializationParameters",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 81.19 kB / 486 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09789/0.1003, allocations: 54.42 MB / 0.5278 GB, free: 1.383 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/VariablesTypes/InitializationParameters.mo:5:3-5:28:writable] Warning: Parameter b has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.001622/0.1019, allocations: 0.5046 MB / 0.5283 GB, free: 0.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005847/0.1025, allocations: 296.2 kB / 0.5286 GB, free: 0.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/0.1025, allocations: 4 kB / 0.5286 GB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.981e-05/0.1026, allocations: 7.938 kB / 0.5286 GB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.1029, allocations: 63.73 kB / 0.5286 GB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.031e-05/0.1029, allocations: 7.938 kB / 0.5286 GB, free: 0.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.103, allocations: 39.83 kB / 0.5287 GB, free: 472 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.26e-05/0.1031, allocations: 0 / 0.5287 GB, free: 472 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.83e-05/0.1031, allocations: 11.98 kB / 0.5287 GB, free: 460 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.1034, allocations: 63.88 kB / 0.5288 GB, free: 396 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.1034, allocations: 0 / 0.5288 GB, free: 396 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.1034, allocations: 4 kB / 0.5288 GB, free: 392 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.1035, allocations: 15.92 kB / 0.5288 GB, free: 376 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.1035, allocations: 19.86 kB / 0.5288 GB, free: 356 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.658e-05/0.1036, allocations: 31.42 kB / 0.5288 GB, free: 328 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1036, allocations: 0 / 0.5288 GB, free: 328 kB / 334.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1036, allocations: 0 / 0.5288 GB, free: 328 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.1036, allocations: 0 / 0.5288 GB, free: 328 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005275/0.1041, allocations: 405.5 kB / 0.5292 GB, free: 15.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1041, allocations: 8.031 kB / 0.5292 GB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.091e-05/0.1042, allocations: 110 kB / 0.5293 GB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.324e-05/0.1043, allocations: 84.17 kB / 0.5294 GB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.1045, allocations: 243.7 kB / 0.5296 GB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.1046, allocations: 150.9 kB / 0.5298 GB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.038e-05/0.1047, allocations: 166.9 kB / 0.5299 GB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.1048, allocations: 101.5 kB / 0.53 GB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.1049, allocations: 79.22 kB / 0.5301 GB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.372e-05/0.1049, allocations: 158.5 kB / 0.5303 GB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-05/0.105, allocations: 150.6 kB / 0.5304 GB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.566e-05/0.1051, allocations: 150.6 kB / 0.5306 GB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.1054, allocations: 477.8 kB / 0.531 GB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.876e-05/0.1055, allocations: 173.1 kB / 0.5312 GB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.759e-05/0.1055, allocations: 80.14 kB / 0.5312 GB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.1056, allocations: 75.28 kB / 0.5313 GB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/0.1056, allocations: 109.8 kB / 0.5314 GB, free: 13.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.1056, allocations: 0 / 0.5314 GB, free: 13.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.117e-05/0.1057, allocations: 41.53 kB / 0.5315 GB, free: 13.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.691e-05/0.1058, allocations: 126.7 kB / 0.5316 GB, free: 13.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.1059, allocations: 146.8 kB / 0.5317 GB, free: 13.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.106, allocations: 29.7 kB / 0.5318 GB, free: 13.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.106, allocations: 88.14 kB / 0.5318 GB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-06/0.106, allocations: 4 kB / 0.5318 GB, free: 13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.1061, allocations: 29.69 kB / 0.5319 GB, free: 12.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1062, allocations: 318.8 kB / 0.5322 GB, free: 12.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.049e-05/0.1063, allocations: 11.98 kB / 0.5322 GB, free: 12.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.112e-05/0.1064, allocations: 57.14 kB / 0.5322 GB, free: 12.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1065, allocations: 98.72 kB / 0.5323 GB, free: 12.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1065, allocations: 0 / 0.5323 GB, free: 12.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005398/0.107, allocations: 335 kB / 0.5327 GB, free: 12.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/0.1071, allocations: 33.69 kB / 0.5327 GB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.1071, allocations: 3.938 kB / 0.5327 GB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001969/0.1073, allocations: 45.69 kB / 0.5327 GB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.1075, allocations: 28.17 kB / 0.5328 GB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004489/0.112, allocations: 5.568 MB / 0.5382 GB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.185e-05/0.1121, allocations: 11.89 kB / 0.5382 GB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.1121, allocations: 4 kB / 0.5382 GB, free: 5.789 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.1122, allocations: 209 kB / 0.5384 GB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.147e-05/0.1123, allocations: 109 kB / 0.5385 GB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.354e-05/0.1124, allocations: 108.8 kB / 0.5386 GB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.211e-05/0.1125, allocations: 184.2 kB / 0.5388 GB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-05/0.1126, allocations: 180.3 kB / 0.539 GB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.734e-05/0.1127, allocations: 180.2 kB / 0.5391 GB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.1129, allocations: 421.1 kB / 0.5395 GB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-05/0.113, allocations: 105 kB / 0.5396 GB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.097e-05/0.113, allocations: 105.8 kB / 0.5397 GB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.333e-05/0.1131, allocations: 184.3 kB / 0.5399 GB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.479e-05/0.1132, allocations: 180.2 kB / 0.5401 GB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.298e-05/0.1133, allocations: 180.3 kB / 0.5403 GB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-05/0.1133, allocations: 184.2 kB / 0.5404 GB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.1135, allocations: 311.7 kB / 0.5407 GB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.1136, allocations: 198.2 kB / 0.5409 GB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.556e-05/0.1137, allocations: 176.3 kB / 0.5411 GB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.231e-05/0.1138, allocations: 113 kB / 0.5412 GB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.146e-05/0.1139, allocations: 180.2 kB / 0.5414 GB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.8e-05/0.1139, allocations: 105 kB / 0.5415 GB, free: 2.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.426e-05/0.114, allocations: 110.7 kB / 0.5416 GB, free: 2.117 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.114, allocations: 0 / 0.5416 GB, free: 2.117 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.1143, allocations: 19.94 kB / 0.5416 GB, free: 2.098 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004367/0.1147, allocations: 0.8087 MB / 0.5424 GB, free: 1.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00082/0.1156, allocations: 336.9 kB / 0.5427 GB, free: 0.8945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1156, allocations: 4.125 kB / 0.5427 GB, free: 0.8906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.1156, allocations: 4 kB / 0.5427 GB, free: 0.8867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.116, allocations: 455.7 kB / 0.5431 GB, free: 448 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.1182, allocations: 1.993 MB / 0.5451 GB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.1185, allocations: 0.6924 MB / 0.5458 GB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.288e-05/0.1186, allocations: 4 kB / 0.5458 GB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.1186, allocations: 15.44 kB / 0.5458 GB, free: 13.5 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1186, allocations: 0 / 0.5458 GB, free: 13.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.1459, allocations: 1.918 MB / 0.5477 GB, free: 11.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.12, allocations: 8.5 kB / 0.5477 GB, free: 11.72 MB / 366.1 MB " [Timeout remaining time 648] (rm -f HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_InitializationParameters_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_InitializationParameters.fmu > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.820507459808141] Failed to read output from testmodel.py, exit status != 0: 12.380634914152324 12.234269811999999 12.126315774 Calling exit ...