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.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.001888/0.001888, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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 1.59/1.59, allocations: 230.6 MB / 253.4 MB, free: 14.63 MB / 206.1 MB " [Timeout remaining time 178] 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.001944/0.001944, allocations: 207.7 kB / 310 MB, free: 3.043 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04083/0.04083, allocations: 8.911 MB / 375.4 MB, free: 6.793 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.VariablesTypes.InitializationParameters,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_InitializationParameters",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.InitializationParameters,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_InitializationParameters",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica 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.003919/0.003919, allocations: 87.81 kB / 0.49 GB, free: 44.92 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1331, allocations: 55.61 MB / 0.5443 GB, free: 5.219 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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.001852/0.135, allocations: 0.5228 MB / 0.5448 GB, free: 4.695 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006708/0.1356, allocations: 302.3 kB / 0.5451 GB, free: 4.398 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.066e-05/0.1357, allocations: 4 kB / 0.5451 GB, free: 4.395 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.511e-05/0.1357, allocations: 7.922 kB / 0.5451 GB, free: 4.387 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004892/0.1362, allocations: 59.8 kB / 0.5451 GB, free: 4.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.704e-05/0.1363, allocations: 15.92 kB / 0.5451 GB, free: 4.312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.1364, allocations: 27.92 kB / 0.5452 GB, free: 4.285 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.1365, allocations: 0 / 0.5452 GB, free: 4.285 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.684e-05/0.1365, allocations: 19.91 kB / 0.5452 GB, free: 4.266 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003182/0.1368, allocations: 67.86 kB / 0.5453 GB, free: 4.199 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.1369, allocations: 0 / 0.5453 GB, free: 4.199 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.1369, allocations: 4 kB / 0.5453 GB, free: 4.195 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.1369, allocations: 11.98 kB / 0.5453 GB, free: 4.184 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/0.137, allocations: 19.81 kB / 0.5453 GB, free: 4.164 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.1371, allocations: 36.11 kB / 0.5453 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1371, allocations: 0 / 0.5453 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1371, allocations: 0 / 0.5453 GB, free: 4.129 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1371, allocations: 0 / 0.5453 GB, free: 4.129 MB / 366.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.0005499/0.1376, allocations: 323.8 kB / 0.5456 GB, free: 3.773 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.1377, allocations: 11.98 kB / 0.5456 GB, free: 3.762 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.064e-05/0.1377, allocations: 79.47 kB / 0.5457 GB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.282e-05/0.1378, allocations: 106 kB / 0.5458 GB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.81e-05/0.1379, allocations: 84.11 kB / 0.5459 GB, free: 3.488 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.1381, allocations: 193.8 kB / 0.5461 GB, free: 3.273 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.449e-05/0.1382, allocations: 158.9 kB / 0.5462 GB, free: 3.117 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.257e-05/0.1382, allocations: 158.9 kB / 0.5464 GB, free: 2.961 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.1383, allocations: 113.2 kB / 0.5465 GB, free: 2.844 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.82e-05/0.1384, allocations: 75.28 kB / 0.5466 GB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.1385, allocations: 154.6 kB / 0.5467 GB, free: 2.617 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.6e-05/0.1386, allocations: 154.6 kB / 0.5469 GB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.1387, allocations: 154.5 kB / 0.547 GB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/0.1391, allocations: 448.9 kB / 0.5474 GB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.963e-05/0.1392, allocations: 165.1 kB / 0.5476 GB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.48e-05/0.1392, allocations: 84.14 kB / 0.5477 GB, free: 1.574 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.1393, allocations: 75.28 kB / 0.5477 GB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.181e-05/0.1393, allocations: 117.8 kB / 0.5479 GB, free: 1.375 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.1393, allocations: 0 / 0.5479 GB, free: 1.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 9.33e-05/0.1394, allocations: 37.59 kB / 0.5479 GB, free: 1.332 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/0.1395, allocations: 126.7 kB / 0.548 GB, free: 1.195 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.1397, allocations: 151.4 kB / 0.5482 GB, free: 1.039 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.1397, allocations: 25.7 kB / 0.5482 GB, free: 1.008 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.1398, allocations: 88.09 kB / 0.5483 GB, free: 0.918 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-06/0.1398, allocations: 4 kB / 0.5483 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/0.1399, allocations: 25.7 kB / 0.5483 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.14, allocations: 314.8 kB / 0.5486 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.227e-05/0.1401, allocations: 19.98 kB / 0.5486 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.079e-05/0.1401, allocations: 57.14 kB / 0.5487 GB, free: 484 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1402, allocations: 90.72 kB / 0.5488 GB, free: 368 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1402, allocations: 8 kB / 0.5488 GB, free: 360 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004488/0.1407, allocations: 160.9 kB / 0.5489 GB, free: 180 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/0.1407, allocations: 37.69 kB / 0.549 GB, free: 136 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1407, allocations: 0 / 0.549 GB, free: 136 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002237/0.141, allocations: 45.89 kB / 0.549 GB, free: 84 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.1412, allocations: 31.91 kB / 0.549 GB, free: 52 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004139/0.1453, allocations: 5.154 MB / 0.5541 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.652e-05/0.1454, allocations: 11.89 kB / 0.5541 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.1454, allocations: 11.88 kB / 0.5541 GB, free: 10.41 MB / 382.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.000148/0.1456, allocations: 201.8 kB / 0.5543 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-05/0.1457, allocations: 113 kB / 0.5544 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.312e-05/0.1457, allocations: 112.7 kB / 0.5545 GB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.289e-05/0.1458, allocations: 184.2 kB / 0.5547 GB, free: 9.785 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.059e-05/0.1459, allocations: 176.3 kB / 0.5548 GB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.505e-05/0.1459, allocations: 192.1 kB / 0.555 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.1462, allocations: 384.2 kB / 0.5554 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.925e-05/0.1462, allocations: 108.9 kB / 0.5555 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.415e-05/0.1463, allocations: 109.1 kB / 0.5556 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.372e-05/0.1464, allocations: 176.3 kB / 0.5558 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.721e-05/0.1465, allocations: 192.2 kB / 0.5559 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.405e-05/0.1465, allocations: 180.3 kB / 0.5561 GB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.696e-05/0.1466, allocations: 180.2 kB / 0.5563 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.1468, allocations: 311.7 kB / 0.5566 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.951e-05/0.1469, allocations: 108.9 kB / 0.5567 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.451e-05/0.1469, allocations: 180.3 kB / 0.5569 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.086e-05/0.147, allocations: 120.8 kB / 0.557 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-05/0.1471, allocations: 176.3 kB / 0.5571 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.091e-05/0.1472, allocations: 104.9 kB / 0.5572 GB, free: 6.977 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.1473, allocations: 117.5 kB / 0.5574 GB, free: 6.863 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1473, allocations: 4 kB / 0.5574 GB, free: 6.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000289/0.1476, allocations: 12 kB / 0.5574 GB, free: 6.848 MB / 382.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.0004791/0.148, allocations: 0.797 MB / 0.5582 GB, free: 6.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008327/0.1489, allocations: 348.8 kB / 0.5585 GB, free: 5.641 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1489, allocations: 0 / 0.5585 GB, free: 5.641 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.1489, allocations: 0 / 0.5585 GB, free: 5.641 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.1493, allocations: 463.6 kB / 0.5589 GB, free: 5.184 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.151, allocations: 1.689 MB / 0.5606 GB, free: 3.367 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.1513, allocations: 0.6924 MB / 0.5613 GB, free: 2.648 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.886e-05/0.1514, allocations: 0 / 0.5613 GB, free: 2.648 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.1514, allocations: 15.42 kB / 0.5613 GB, free: 2.633 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1514, allocations: 4 kB / 0.5613 GB, free: 2.629 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03657/0.188, allocations: 1.981 MB / 0.5632 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.13, allocations: 13.64 kB / 0.5632 GB, free: 0.7695 MB / 382.1 MB " [Timeout remaining time 645] (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: 17.528091448009945] Failed to read output from testmodel.py, exit status != 0: 14.624663891037926 14.642015635 14.501639424 Calling exit ...