Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.EquivalentCircuit.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.000775/0.000775, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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 0.8778/0.8778, allocations: 177.1 MB / 199.4 MB, free: 5.953 MB / 186.7 MB " [Timeout remaining time 179] 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.001069/0.001069, allocations: 152.6 kB / 256 MB, free: 13.36 MB / 250.7 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.02145/0.02145, allocations: 6.662 MB / 319 MB, free: 26.76 MB / 266.7 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.Machines.EquivalentCircuit,fileNamePrefix="HanserModelica_HanserModelica_Machines_EquivalentCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.EquivalentCircuit,fileNamePrefix="HanserModelica_HanserModelica_Machines_EquivalentCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 445.4 MB, free: 37.63 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.545e-05, allocations: 2.281 kB / 445.4 MB, free: 37.63 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.008744/0.00876, allocations: 16.27 MB / 461.7 MB, free: 21.28 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006922/0.01568, allocations: 4.965 MB / 466.6 MB, free: 16.3 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/0.0175, allocations: 187.1 kB / 466.8 MB, free: 16.11 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006309/0.02381, allocations: 8.112 MB / 474.9 MB, free: 7.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004044/0.02786, allocations: 2.234 MB / 477.2 MB, free: 5.738 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.02984, allocations: 1.565 MB / 478.7 MB, free: 4.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007523/0.03736, allocations: 11.27 MB / 490 MB, free: 8.863 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01642/0.05378, allocations: 16.28 MB / 0.4944 GB, free: 8.383 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009513/0.0633, allocations: 9.045 MB / 0.5033 GB, free: 15.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007465/0.07076, allocations: 6.05 MB / 0.5092 GB, free: 9.262 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002712/0.07347, allocations: 1.621 MB / 0.5107 GB, free: 7.641 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003005/0.07648, allocations: 1.933 MB / 0.5126 GB, free: 5.707 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001775/0.07825, allocations: 3.37 MB / 0.5159 GB, free: 2.328 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00394/0.08219, allocations: 4.285 MB / 0.5201 GB, free: 14.04 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0147/0.09689, allocations: 22.22 MB / 0.5418 GB, free: 7.754 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.0969, allocations: 0 / 0.5418 GB, free: 7.754 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.0969, allocations: 0 / 0.5418 GB, free: 7.754 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004995/0.0974, allocations: 0 / 0.5418 GB, free: 7.754 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3006 * Number of variables: 3006 Notification: Performance of Generate backend data structure: time 0.02335/0.1207, allocations: 13.83 MB / 0.5553 GB, free: 9.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.1208, allocations: 16.02 kB / 0.5553 GB, free: 9.824 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002542/0.1233, allocations: 1.57 MB / 0.5569 GB, free: 8.242 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02079/0.1441, allocations: 7.781 MB / 0.5645 GB, free: 452 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2894/0.4335, allocations: 6.897 MB / 0.5712 GB, free: 101.9 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000395/0.4339, allocations: 0.8081 MB / 0.572 GB, free: 101.5 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001493/0.4354, allocations: 1.061 MB / 0.573 GB, free: 101.1 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01628/0.4517, allocations: 18.04 MB / 0.5906 GB, free: 88.7 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000154/0.4518, allocations: 11.95 kB / 0.5906 GB, free: 88.68 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000714/0.4525, allocations: 453.2 kB / 0.5911 GB, free: 88.25 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002831/0.4528, allocations: 0.5696 MB / 0.5916 GB, free: 87.68 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01618/0.469, allocations: 16.19 MB / 0.6074 GB, free: 71.46 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0396/0.5086, allocations: 47.88 MB / 0.6542 GB, free: 23.29 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006593/0.5152, allocations: 7.584 MB / 0.6616 GB, free: 16.07 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002851/0.518, allocations: 3.406 MB / 0.6649 GB, free: 12.67 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002231/0.5183, allocations: 124.3 kB / 0.6651 GB, free: 12.54 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/0.5183, allocations: 90.89 kB / 0.6651 GB, free: 12.45 MB / 426.8 MB Notification: Performance of pre-optimization done (n=492): time 6.572e-06/0.5183, allocations: 0 / 0.6651 GB, free: 12.45 MB / 426.8 MB Notification: Performance of matching and sorting (n=492): time 0.01085/0.5292, allocations: 10.35 MB / 0.6752 GB, free: 2.051 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.5292, allocations: 133.4 kB / 0.6754 GB, free: 1.898 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003304/0.5325, allocations: 3.629 MB / 0.6789 GB, free: 14.36 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001958/0.5327, allocations: 105.7 kB / 0.679 GB, free: 14.25 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002087/0.5348, allocations: 4.481 MB / 0.6834 GB, free: 9.812 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009327/0.5357, allocations: 1.73 MB / 0.6851 GB, free: 8.105 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001283/0.537, allocations: 1.319 MB / 0.6864 GB, free: 6.777 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 6.81e-05/0.5371, allocations: 301.1 kB / 0.6867 GB, free: 6.48 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003242/0.5403, allocations: 3.28 MB / 0.6899 GB, free: 3.195 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004087/0.5444, allocations: 5.615 MB / 0.6953 GB, free: 12.53 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007622/0.552, allocations: 9.547 MB / 0.7047 GB, free: 1.902 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.815e-05/0.5521, allocations: 20 kB / 0.7047 GB, free: 1.883 MB / 458.8 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01107/0.5631, allocations: 10.28 MB / 0.7147 GB, free: 7.551 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.471e-05/0.5632, allocations: 40.03 kB / 0.7148 GB, free: 7.512 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-05/0.5633, allocations: 76 kB / 0.7148 GB, free: 7.438 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001855/0.5651, allocations: 1.08 MB / 0.7159 GB, free: 6.348 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002764/0.5679, allocations: 1.529 MB / 0.7174 GB, free: 4.816 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/0.5779, allocations: 13.05 MB / 0.7301 GB, free: 7.336 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/0.5806, allocations: 0.8616 MB / 0.731 GB, free: 6.469 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003894/0.581, allocations: 320 kB / 0.7313 GB, free: 6.156 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * 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 (790): * Single equations (assignments): 784 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,30,100.0%), (1,13,100.0%), (1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0051/0.5861, allocations: 4.125 MB / 0.7353 GB, free: 2.016 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005452/0.5866, allocations: 413.3 kB / 0.7357 GB, free: 1.609 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00839/0.595, allocations: 7.833 MB / 0.7434 GB, free: 9.707 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006664/0.6017, allocations: 6.48 MB / 0.7497 GB, free: 3.18 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.442e-05/0.6017, allocations: 12 kB / 0.7497 GB, free: 3.168 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.93e-05/0.6018, allocations: 23.91 kB / 0.7497 GB, free: 3.145 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1736/0.7753, allocations: 17 MB / 0.7663 GB, free: 160.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/0.7753, allocations: 15.81 kB / 0.7663 GB, free: 160.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001968/0.7773, allocations: 0.9566 MB / 0.7673 GB, free: 160.4 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001469/0.7788, allocations: 0.9784 MB / 0.7682 GB, free: 160.2 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002177/0.779, allocations: 134.5 kB / 0.7683 GB, free: 160.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00769/0.7867, allocations: 12.72 MB / 0.7808 GB, free: 151.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.7867, allocations: 27.62 kB / 0.7808 GB, free: 151.8 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/0.7969, allocations: 12.12 MB / 0.7926 GB, free: 143.5 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/0.7986, allocations: 1.112 MB / 0.7937 GB, free: 142.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003925/0.799, allocations: 111.6 kB / 0.7938 GB, free: 142.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/0.8003, allocations: 317.6 kB / 0.7941 GB, free: 142.3 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004666/0.8007, allocations: 417.4 kB / 0.7945 GB, free: 142.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001896/0.8009, allocations: 175 kB / 0.7947 GB, free: 141.9 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.002143/0.8031, allocations: 2.353 MB / 0.797 GB, free: 140 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7e-08/0.8031, allocations: 0 / 0.797 GB, free: 140 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.005029/0.8081, allocations: 2.683 MB / 0.7996 GB, free: 137.6 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (501): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,30,100.0%), (1,13,100.0%), (1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01053/0.8186, allocations: 12.87 MB / 0.8122 GB, free: 125.9 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.009132/0.8277, allocations: 8.294 MB / 0.8203 GB, free: 117.6 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.996e-05/0.8278, allocations: 0 / 0.8203 GB, free: 117.6 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004761/0.8325, allocations: 3.981 MB / 0.8242 GB, free: 113.6 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003641/0.8362, allocations: 0.9384 MB / 0.8251 GB, free: 112.7 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06113/0.8973, allocations: 59.7 MB / 0.8834 GB, free: 49.7 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007307/0.9046, allocations: 6.576 MB / 0.8898 GB, free: 43.07 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.003746/0.9083, allocations: 2.542 MB / 0.8923 GB, free: 40.53 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003306/0.9116, allocations: 3.671 MB / 0.8959 GB, free: 36.86 MB / 0.4949 GB Notification: Performance of SimCode: time 1.693e-06/0.9116, allocations: 0 / 0.8959 GB, free: 36.86 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2905/1.202, allocations: 135.8 MB / 1.028 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/12.38, allocations: 11.5 kB / 1.028 GB, free: 110.5 MB / 0.5105 GB " [Timeout remaining time 647] (rm -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe ; mkfifo HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe >> ../files/HanserModelica_HanserModelica.Machines.EquivalentCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Machines_EquivalentCircuit_fmu --startTime=0 --stopTime=1 --stepSize=0.1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Machines_EquivalentCircuit.fmu > HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.3513372996822] Failed to read output from testmodel.py, exit status != 0: 12.5209750412032 12.528660699 12.430341281 Calling exit ...