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.00472/0.00472, allocations: 100.1 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001601/0.001601, allocations: 192.5 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03431/0.03431, allocations: 8.787 MB / 348.7 MB, free: 4.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 79.86 kB / 463.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0906/0.09208, allocations: 51.56 MB / 0.5029 GB, free: 10.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002183/0.09428, allocations: 1.182 MB / 0.504 GB, free: 8.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 4.235e-05/0.09435, allocations: 11.97 kB / 0.5041 GB, free: 8.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.41e-05/0.09438, allocations: 4 kB / 0.5041 GB, free: 8.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.143e-05/0.09441, allocations: 0 / 0.5041 GB, free: 8.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.144e-05/0.09447, allocations: 3.938 kB / 0.5041 GB, free: 8.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.887e-05/0.09452, allocations: 0 / 0.5041 GB, free: 8.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.682e-05/0.09459, allocations: 7.938 kB / 0.5041 GB, free: 8.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.09465, allocations: 11.98 kB / 0.5041 GB, free: 8.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.962e-05/0.09468, allocations: 3.938 kB / 0.5041 GB, free: 8.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.393e-05/0.09473, allocations: 4 kB / 0.5041 GB, free: 8.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.09474, allocations: 0 / 0.5041 GB, free: 8.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.479e-06/0.09475, allocations: 0 / 0.5041 GB, free: 8.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.09478, allocations: 8 kB / 0.5041 GB, free: 8.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.0948, allocations: 7.938 kB / 0.5041 GB, free: 8.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.865e-05/0.09486, allocations: 7.969 kB / 0.5041 GB, free: 8.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.09486, allocations: 0 / 0.5041 GB, free: 8.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09487, allocations: 4 kB / 0.5041 GB, free: 8.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.09488, allocations: 0 / 0.5041 GB, free: 8.742 MB / 350.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.0003446/0.09523, allocations: 307.6 kB / 0.5044 GB, free: 8.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.09528, allocations: 12.03 kB / 0.5044 GB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.028e-05/0.09531, allocations: 38.73 kB / 0.5045 GB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.083e-05/0.09534, allocations: 8.844 kB / 0.5045 GB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.996e-05/0.09544, allocations: 160.7 kB / 0.5046 GB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.09546, allocations: 4.375 kB / 0.5046 GB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-06/0.09547, allocations: 384 / 0.5046 GB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.817e-05/0.09556, allocations: 47.91 kB / 0.5047 GB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.09558, allocations: 3.938 kB / 0.5047 GB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.09559, allocations: 0 / 0.5047 GB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.0956, allocations: 3.984 kB / 0.5047 GB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.486e-05/0.09563, allocations: 12 kB / 0.5047 GB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.09607, allocations: 190.5 kB / 0.5049 GB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.139e-05/0.09613, allocations: 37.19 kB / 0.5049 GB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.257e-05/0.09616, allocations: 21.72 kB / 0.5049 GB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.09618, allocations: 0 / 0.5049 GB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.0962, allocations: 42.44 kB / 0.505 GB, free: 7.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.09621, allocations: 0 / 0.505 GB, free: 7.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001304/0.09634, allocations: 49.62 kB / 0.505 GB, free: 7.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.0964, allocations: 81.3 kB / 0.5051 GB, free: 7.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.091e-05/0.09647, allocations: 97.86 kB / 0.5052 GB, free: 7.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.09648, allocations: 25.7 kB / 0.5052 GB, free: 7.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.279e-05/0.09652, allocations: 80.14 kB / 0.5053 GB, free: 7.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.09655, allocations: 7.891 kB / 0.5053 GB, free: 7.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.09658, allocations: 17.72 kB / 0.5053 GB, free: 7.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.0967, allocations: 310.8 kB / 0.5056 GB, free: 6.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.09672, allocations: 0 / 0.5056 GB, free: 6.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.331e-05/0.09675, allocations: 21.84 kB / 0.5056 GB, free: 6.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.508e-05/0.09679, allocations: 13.72 kB / 0.5056 GB, free: 6.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.0968, allocations: 0 / 0.5056 GB, free: 6.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.813e-05/0.09688, allocations: 49.62 kB / 0.5057 GB, free: 6.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.0969, allocations: 7.938 kB / 0.5057 GB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.09691, allocations: 0 / 0.5057 GB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.09694, allocations: 4.125 kB / 0.5057 GB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.09714, allocations: 31.98 kB / 0.5057 GB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.09944, allocations: 2.715 MB / 0.5084 GB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.09949, allocations: 4 kB / 0.5084 GB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.0995, allocations: 3.984 kB / 0.5084 GB, free: 3.82 MB / 350.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 0.0001089/0.09962, allocations: 117.8 kB / 0.5085 GB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.09964, allocations: 4.031 kB / 0.5085 GB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/0.09967, allocations: 15.11 kB / 0.5085 GB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.09968, allocations: 4 kB / 0.5085 GB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.09969, allocations: 0 / 0.5085 GB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.0997, allocations: 3.984 kB / 0.5085 GB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003595/0.1001, allocations: 177.7 kB / 0.5087 GB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1001, allocations: 0 / 0.5087 GB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.1002, allocations: 31.98 kB / 0.5087 GB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1003, allocations: 3.938 kB / 0.5087 GB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1003, allocations: 0 / 0.5087 GB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.1019, allocations: 2.727 MB / 0.5114 GB, free: 416 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1019, allocations: 3.938 kB / 0.5114 GB, free: 412 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.523e-05/0.102, allocations: 74.06 kB / 0.5115 GB, free: 316 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.931e-05/0.102, allocations: 81.05 kB / 0.5115 GB, free: 216 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.214e-06/0.1021, allocations: 3.984 kB / 0.5115 GB, free: 212 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.062e-05/0.1021, allocations: 0 / 0.5115 GB, free: 212 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.371e-05/0.1021, allocations: 8 kB / 0.5116 GB, free: 204 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.1021, allocations: 0 / 0.5116 GB, free: 204 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.395e-05/0.1022, allocations: 79.28 kB / 0.5116 GB, free: 124 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1022, allocations: 3.938 kB / 0.5116 GB, free: 120 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002177/0.1024, allocations: 8.125 kB / 0.5116 GB, free: 112 kB / 350.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.000368/0.1028, allocations: 0.6015 MB / 0.5122 GB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005034/0.1033, allocations: 39.98 kB / 0.5123 GB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1033, allocations: 0 / 0.5123 GB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003427/0.1036, allocations: 43.89 kB / 0.5123 GB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.1038, allocations: 4.25 kB / 0.5123 GB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.1043, allocations: 136 kB / 0.5124 GB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.1045, allocations: 0.6844 MB / 0.5131 GB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.59e-05/0.1046, allocations: 23.98 kB / 0.5131 GB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.029e-05/0.1047, allocations: 23.41 kB / 0.5132 GB, free: 14.45 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1047, allocations: 0 / 0.5132 GB, free: 14.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.1224, allocations: 1.738 MB / 0.5149 GB, free: 12.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.212/7.335, allocations: 8 kB / 0.5149 GB, free: 12.77 MB / 366.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_Attributes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_Attributes.fmu > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1)