Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002294/0.002294, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.066/1.066, allocations: 175.8 MB / 478.4 MB, free: 8.445 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(IDEAS.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 67.8 kB / 0.6652 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2134, allocations: 94.53 MB / 0.7575 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.3998/0.6132, allocations: 4.411 MB / 0.7618 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002875/0.6161, allocations: 1.877 MB / 0.7636 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002739/0.6164, allocations: 13.5 kB / 0.7637 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.6179, allocations: 0.6067 MB / 0.7642 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006248/0.6185, allocations: 269.1 kB / 0.7645 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000695/0.6192, allocations: 249.3 kB / 0.7647 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006671/0.6199, allocations: 0.6065 MB / 0.7653 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005738/0.6205, allocations: 371.1 kB / 0.7657 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.6208, allocations: 249.2 kB / 0.7659 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004466/0.6212, allocations: 281 kB / 0.7662 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.192e-05/0.6213, allocations: 37.47 kB / 0.7662 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004545/0.6217, allocations: 265.5 kB / 0.7665 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.6219, allocations: 155.7 kB / 0.7666 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002006/0.6221, allocations: 209.9 kB / 0.7668 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006766/0.6227, allocations: 0.6161 MB / 0.7674 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6228, allocations: 0 / 0.7674 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6228, allocations: 0 / 0.7674 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.536e-05/0.6228, allocations: 0 / 0.7674 GB, free: 5.141 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001182/0.624, allocations: 0.7531 MB / 0.7682 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.624, allocations: 9.031 kB / 0.7682 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.208e-05/0.6241, allocations: 71.45 kB / 0.7682 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000941/0.625, allocations: 148.3 kB / 0.7684 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/0.6255, allocations: 339.1 kB / 0.7687 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.6255, allocations: 26.94 kB / 0.7687 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.657e-05/0.6256, allocations: 34.95 kB / 0.7688 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000736/0.6263, allocations: 0.5307 MB / 0.7693 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.6263, allocations: 3.938 kB / 0.7693 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/0.6264, allocations: 22.56 kB / 0.7693 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.93e-05/0.6264, allocations: 32.92 kB / 0.7693 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005852/0.627, allocations: 383.5 kB / 0.7697 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.6293, allocations: 2.401 MB / 0.7721 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000552/0.6298, allocations: 240.8 kB / 0.7723 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.63, allocations: 96.62 kB / 0.7724 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.63, allocations: 6.531 kB / 0.7724 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.63, allocations: 36.56 kB / 0.7724 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.302e-06/0.63, allocations: 4.5 kB / 0.7724 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.002062/0.6321, allocations: 1.132 MB / 0.7735 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.6321, allocations: 53.48 kB / 0.7736 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.6324, allocations: 303.4 kB / 0.7739 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.6324, allocations: 32.02 kB / 0.7739 GB, free: 488 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.6325, allocations: 235 kB / 0.7741 GB, free: 284 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.6326, allocations: 88.73 kB / 0.7742 GB, free: 212 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.074e-05/0.6327, allocations: 61.67 kB / 0.7743 GB, free: 168 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.6328, allocations: 343.1 kB / 0.7746 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.6329, allocations: 103.9 kB / 0.7747 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.6332, allocations: 193.4 kB / 0.7749 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004047/0.6336, allocations: 320.4 kB / 0.7752 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6336, allocations: 0 / 0.7752 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007497/0.6343, allocations: 441.9 kB / 0.7756 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.6343, allocations: 4.656 kB / 0.7756 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6344, allocations: 6.297 kB / 0.7756 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003618/0.6347, allocations: 96.45 kB / 0.7757 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.635, allocations: 64.23 kB / 0.7758 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003722/0.6387, allocations: 4.396 MB / 0.7801 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.639, allocations: 9.328 kB / 0.7801 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.639, allocations: 16.53 kB / 0.7801 GB, free: 10.86 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002533/0.6393, allocations: 176.8 kB / 0.7802 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.609e-05/0.6393, allocations: 38.8 kB / 0.7803 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.964e-05/0.6394, allocations: 39.38 kB / 0.7803 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.6394, allocations: 5.922 kB / 0.7803 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.6394, allocations: 0.8438 kB / 0.7803 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.6394, allocations: 5.406 kB / 0.7803 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005511/0.64, allocations: 396.5 kB / 0.7807 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.64, allocations: 4.875 kB / 0.7807 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.6402, allocations: 40.61 kB / 0.7808 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003742/0.6406, allocations: 99.38 kB / 0.7809 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.6406, allocations: 4 kB / 0.7809 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004224/0.6448, allocations: 4.389 MB / 0.7851 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.6448, allocations: 3.938 kB / 0.7851 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009767/0.6458, allocations: 0.5564 MB / 0.7857 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.646, allocations: 122.4 kB / 0.7858 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.6461, allocations: 9 kB / 0.7858 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.6463, allocations: 12.59 kB / 0.7858 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.6464, allocations: 13.67 kB / 0.7858 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.6464, allocations: 6.938 kB / 0.7858 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002373/0.6466, allocations: 213.6 kB / 0.786 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5e-08/0.6466, allocations: 0 / 0.786 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005463/0.6472, allocations: 103.2 kB / 0.7861 GB, free: 5.438 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001174/0.6483, allocations: 1.091 MB / 0.7872 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.6494, allocations: 0.5987 MB / 0.7878 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6494, allocations: 4.062 kB / 0.7878 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005845/0.65, allocations: 461.2 kB / 0.7882 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005601/0.6505, allocations: 83.02 kB / 0.7883 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004499/0.655, allocations: 3.354 MB / 0.7916 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005824/0.6556, allocations: 0.8388 MB / 0.7924 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002789/0.6559, allocations: 62.34 kB / 0.7925 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.6561, allocations: 109 kB / 0.7926 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of SimCode: time 1.082e-06/0.6561, allocations: 0 / 0.7926 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04644/0.7025, allocations: 7.838 MB / 0.8002 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/11.07, allocations: 5.375 kB / 0.8002 GB, free: 15.66 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_RCModel.fmu > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.08513247128576] Failed to read output from testmodel.py, exit status != 0: 11.158433634787798 11.18840186 10.560166054 Calling exit ...