Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.Attributes.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.001535/0.001535, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.509/1.509, allocations: 230.6 MB / 250.5 MB, free: 9.219 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.00175/0.00175, allocations: 200.1 kB / 306.7 MB, free: 4.273 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.04117/0.04117, allocations: 8.906 MB / 371.7 MB, free: 3.41 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.Attributes,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_Attributes",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.Attributes,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_Attributes",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.002483/0.002483, allocations: 79.88 kB / 496.4 MB, free: 9.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3568, allocations: 55.57 MB / 0.5391 GB, free: 26.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.00218/0.359, allocations: 1.196 MB / 0.5402 GB, free: 25.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 6.448e-05/0.359, allocations: 10.72 kB / 0.5402 GB, free: 25.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.3591, allocations: 0 / 0.5402 GB, free: 25.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.05e-05/0.3591, allocations: 0 / 0.5402 GB, free: 25.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.061e-05/0.3591, allocations: 3.938 kB / 0.5402 GB, free: 25.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.648e-05/0.3592, allocations: 3.938 kB / 0.5402 GB, free: 25.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.979e-05/0.3592, allocations: 10.25 kB / 0.5403 GB, free: 25.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.794e-05/0.3593, allocations: 3.469 kB / 0.5403 GB, free: 25.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.281e-05/0.3593, allocations: 11.23 kB / 0.5403 GB, free: 25.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.937e-05/0.3594, allocations: 2.875 kB / 0.5403 GB, free: 25.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.3594, allocations: 0 / 0.5403 GB, free: 25.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.031e-06/0.3594, allocations: 3.938 kB / 0.5403 GB, free: 25.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.3594, allocations: 0 / 0.5403 GB, free: 25.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.539e-05/0.3594, allocations: 7.344 kB / 0.5403 GB, free: 25.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.698e-05/0.3595, allocations: 9.281 kB / 0.5403 GB, free: 25.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3595, allocations: 4 kB / 0.5403 GB, free: 25.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3595, allocations: 0 / 0.5403 GB, free: 25.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.3595, allocations: 4 kB / 0.5403 GB, free: 25.73 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000338/0.3599, allocations: 317.3 kB / 0.5406 GB, free: 25.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3599, allocations: 9.594 kB / 0.5406 GB, free: 25.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.977e-05/0.3599, allocations: 5.297 kB / 0.5406 GB, free: 25.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.066e-05/0.3599, allocations: 30.75 kB / 0.5406 GB, free: 25.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.145e-05/0.36, allocations: 0.9375 kB / 0.5406 GB, free: 25.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.275e-05/0.3601, allocations: 164.3 kB / 0.5408 GB, free: 25.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.3601, allocations: 7.438 kB / 0.5408 GB, free: 25.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-06/0.3601, allocations: 4.375 kB / 0.5408 GB, free: 25.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.3602, allocations: 46.45 kB / 0.5409 GB, free: 25.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.3602, allocations: 3.938 kB / 0.5409 GB, free: 25.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.3602, allocations: 0 / 0.5409 GB, free: 25.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3602, allocations: 0 / 0.5409 GB, free: 25.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.758e-05/0.3602, allocations: 3.219 kB / 0.5409 GB, free: 25.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.3606, allocations: 193.4 kB / 0.541 GB, free: 24.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.865e-05/0.3607, allocations: 47.47 kB / 0.5411 GB, free: 24.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.039e-05/0.3607, allocations: 9.719 kB / 0.5411 GB, free: 24.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.3607, allocations: 7.188 kB / 0.5411 GB, free: 24.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.3607, allocations: 38.5 kB / 0.5411 GB, free: 24.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.3607, allocations: 0 / 0.5411 GB, free: 24.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001349/0.3609, allocations: 42.7 kB / 0.5412 GB, free: 24.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.3609, allocations: 77.11 kB / 0.5413 GB, free: 24.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.799e-05/0.361, allocations: 96.89 kB / 0.5413 GB, free: 24.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.361, allocations: 29.42 kB / 0.5414 GB, free: 24.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.38e-05/0.361, allocations: 84.14 kB / 0.5415 GB, free: 24.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.361, allocations: 7.375 kB / 0.5415 GB, free: 24.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.361, allocations: 16.91 kB / 0.5415 GB, free: 24.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.559e-05/0.3611, allocations: 310.8 kB / 0.5418 GB, free: 24.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.205e-05/0.3611, allocations: 3.938 kB / 0.5418 GB, free: 24.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/0.3611, allocations: 12.88 kB / 0.5418 GB, free: 24.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.987e-05/0.3611, allocations: 31.64 kB / 0.5418 GB, free: 24.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3611, allocations: 0 / 0.5418 GB, free: 24.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.47e-05/0.3612, allocations: 43.3 kB / 0.5419 GB, free: 23.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3612, allocations: 10.34 kB / 0.5419 GB, free: 23.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3612, allocations: 0 / 0.5419 GB, free: 23.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3612, allocations: 0 / 0.5419 GB, free: 23.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.3614, allocations: 33.27 kB / 0.5419 GB, free: 23.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.3624, allocations: 2.721 MB / 0.5446 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.3625, allocations: 0 / 0.5446 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.3625, allocations: 3.188 kB / 0.5446 GB, free: 21.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 4.993e-05/0.3625, allocations: 109.8 kB / 0.5447 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.3625, allocations: 7.188 kB / 0.5447 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.11e-05/0.3625, allocations: 6.641 kB / 0.5447 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.3625, allocations: 0 / 0.5447 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.3625, allocations: 7.312 kB / 0.5447 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3625, allocations: 0 / 0.5447 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.3629, allocations: 189.2 kB / 0.5449 GB, free: 20.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3629, allocations: 0 / 0.5449 GB, free: 20.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.363, allocations: 33.31 kB / 0.5449 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.363, allocations: 4 kB / 0.5449 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.363, allocations: 0 / 0.5449 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008927/0.3639, allocations: 2.737 MB / 0.5476 GB, free: 17.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3639, allocations: 0 / 0.5476 GB, free: 17.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.275e-05/0.364, allocations: 67.05 kB / 0.5476 GB, free: 17.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.704e-05/0.364, allocations: 84.3 kB / 0.5477 GB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-06/0.364, allocations: 0 / 0.5477 GB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.991e-05/0.364, allocations: 4.094 kB / 0.5477 GB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.364, allocations: 7.125 kB / 0.5477 GB, free: 17.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.364, allocations: 3 kB / 0.5477 GB, free: 17.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.067e-05/0.3641, allocations: 82.38 kB / 0.5478 GB, free: 17.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3641, allocations: 0 / 0.5478 GB, free: 17.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002022/0.3643, allocations: 3.219 kB / 0.5478 GB, free: 17.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.0002337/0.3645, allocations: 0.6032 MB / 0.5484 GB, free: 16.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000506/0.365, allocations: 40.94 kB / 0.5484 GB, free: 16.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.365, allocations: 0 / 0.5484 GB, free: 16.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.3653, allocations: 29.95 kB / 0.5485 GB, free: 16.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.3655, allocations: 6.797 kB / 0.5485 GB, free: 16.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.3659, allocations: 144.6 kB / 0.5486 GB, free: 16.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.3661, allocations: 0.6853 MB / 0.5493 GB, free: 16.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.712e-05/0.3662, allocations: 14.38 kB / 0.5493 GB, free: 16.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.293e-05/0.3662, allocations: 32.36 kB / 0.5493 GB, free: 16.08 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3662, allocations: 0 / 0.5493 GB, free: 16.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.3848, allocations: 1.785 MB / 0.5511 GB, free: 15.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.199/9.584, allocations: 18.67 kB / 0.5511 GB, free: 15.64 MB / 382.1 MB " [Timeout remaining time 650] (rm -f HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.Attributes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_Attributes_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_Attributes.fmu > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.44128682295559] Failed to read output from testmodel.py, exit status != 0: 9.712600030004978 9.732648258 9.369166976 Calling exit ...