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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) 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.Attributes,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_Attributes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.Attributes,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_Attributes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001447, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 239.3 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 196.4 kB / 289.6 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03428/0.03428, allocations: 8.806 MB / 348.5 MB, free: 4.676 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 84.19 kB / 411.2 MB, free: 41.96 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09079/0.09267, allocations: 51.56 MB / 462.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002889/0.0956, allocations: 1.177 MB / 463.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 4.483e-05/0.09569, allocations: 4 kB / 463.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.326e-05/0.09573, allocations: 0 / 463.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.326e-05/0.09576, allocations: 0 / 463.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.702e-05/0.09583, allocations: 3.938 kB / 463.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.182e-05/0.0959, allocations: 11.98 kB / 463.9 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.028e-05/0.09597, allocations: 7.938 kB / 464 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.276e-05/0.09604, allocations: 0 / 464 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.956e-05/0.09607, allocations: 11.92 kB / 464 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.004e-05/0.09612, allocations: 0 / 464 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.09613, allocations: 0 / 464 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.084e-06/0.09615, allocations: 7.938 kB / 464 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.09617, allocations: 7.984 kB / 464 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.0962, allocations: 3.938 kB / 464 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.705e-05/0.09625, allocations: 4 kB / 464 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.09626, allocations: 0 / 464 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.09627, allocations: 0 / 464 MB, free: 12.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.09628, allocations: 0 / 464 MB, free: 12.96 MB / 302.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.0004461/0.09673, allocations: 323.5 kB / 464.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.09678, allocations: 8.031 kB / 464.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.09683, allocations: 34.75 kB / 464.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.516e-05/0.09686, allocations: 4.938 kB / 464.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.09699, allocations: 160.7 kB / 464.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.09701, allocations: 384 / 464.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-06/0.09702, allocations: 384 / 464.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.09714, allocations: 51.91 kB / 464.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.09716, allocations: 3.938 kB / 464.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.09717, allocations: 0 / 464.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.09719, allocations: 12 kB / 464.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.036e-05/0.09721, allocations: 0 / 464.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005236/0.09774, allocations: 190.5 kB / 464.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.244e-05/0.09782, allocations: 49.12 kB / 464.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/0.09786, allocations: 17.83 kB / 464.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.09788, allocations: 3.984 kB / 464.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.09791, allocations: 34.56 kB / 464.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.09792, allocations: 3.938 kB / 464.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001519/0.09808, allocations: 45.8 kB / 464.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.09813, allocations: 81.14 kB / 465 MB, free: 11.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.754e-05/0.09823, allocations: 101.8 kB / 465.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.09825, allocations: 25.7 kB / 465.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.09829, allocations: 80.14 kB / 465.2 MB, free: 11.51 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.09832, allocations: 11.84 kB / 465.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.09836, allocations: 9.719 kB / 465.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.09849, allocations: 314.8 kB / 465.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.41e-05/0.09851, allocations: 8.125 kB / 465.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.097e-05/0.09853, allocations: 17.7 kB / 465.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.314e-05/0.09857, allocations: 17.72 kB / 465.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.09858, allocations: 0 / 465.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.29e-05/0.09866, allocations: 41.64 kB / 465.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.09868, allocations: 12.06 kB / 465.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.09869, allocations: 4 kB / 465.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.09871, allocations: 0 / 465.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.09891, allocations: 27.97 kB / 465.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.1007, allocations: 2.715 MB / 468.4 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.504e-05/0.1008, allocations: 0 / 468.4 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.1008, allocations: 4.156 kB / 468.4 MB, free: 8.027 MB / 302.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 8.59e-05/0.1009, allocations: 126.4 kB / 468.5 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.1009, allocations: 7.938 kB / 468.5 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.142e-05/0.1009, allocations: 7.078 kB / 468.5 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1009, allocations: 0 / 468.5 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.1009, allocations: 4 kB / 468.5 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.101, allocations: 0 / 468.5 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.1013, allocations: 193.6 kB / 468.7 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1013, allocations: 0 / 468.7 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.1015, allocations: 23.98 kB / 468.7 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1015, allocations: 7.922 kB / 468.7 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.1015, allocations: 0 / 468.7 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/0.1033, allocations: 2.723 MB / 471.5 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1034, allocations: 0 / 471.5 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.1035, allocations: 69.98 kB / 471.5 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.1035, allocations: 81.05 kB / 471.6 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-06/0.1036, allocations: 7.938 kB / 471.6 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.05e-05/0.1036, allocations: 0 / 471.6 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.1036, allocations: 8.031 kB / 471.6 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.1036, allocations: 4 kB / 471.6 MB, free: 4.402 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.808e-05/0.1037, allocations: 79.27 kB / 471.7 MB, free: 4.324 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1037, allocations: 0 / 471.7 MB, free: 4.324 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.104, allocations: 8 kB / 471.7 MB, free: 4.316 MB / 302.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.0004574/0.1044, allocations: 0.6055 MB / 472.3 MB, free: 3.676 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005332/0.105, allocations: 39.91 kB / 472.4 MB, free: 3.637 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.105, allocations: 0 / 472.4 MB, free: 3.637 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003459/0.1053, allocations: 32.14 kB / 472.4 MB, free: 3.605 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.1055, allocations: 5.406 kB / 472.4 MB, free: 3.602 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005403/0.1061, allocations: 152 kB / 472.5 MB, free: 3.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.1064, allocations: 0.6877 MB / 473.2 MB, free: 2.699 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.1066, allocations: 12 kB / 473.2 MB, free: 2.688 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.63e-05/0.1067, allocations: 27.39 kB / 473.3 MB, free: 2.66 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1067, allocations: 4 kB / 473.3 MB, free: 2.656 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.1255, allocations: 1.704 MB / 475 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/7.747, allocations: 2.5 kB / 475 MB, free: 0.9961 MB / 302.1 MB (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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.VariablesTypes.Attributes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_VariablesTypes_Attributes.fmu > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1)