Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001326/0.001326, allocations: 112.6 kB / 16.41 MB, free: 6.512 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.001294/0.001294, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.482/1.482, allocations: 222.9 MB / 245.1 MB, free: 15 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.118/1.118, allocations: 173.4 MB / 470.7 MB, free: 13.57 MB / 382.1 MB " [Timeout remaining time 178] 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.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 68.33 kB / 0.6478 GB, free: 11.74 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.213, allocations: 89.52 MB / 0.7353 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008571/0.2216, allocations: 6.088 MB / 0.7412 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006128/0.2278, allocations: 3.145 MB / 0.7443 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005171/0.2284, allocations: 35.75 kB / 0.7443 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002669/0.2311, allocations: 0.9291 MB / 0.7452 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.2325, allocations: 473.6 kB / 0.7457 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.234, allocations: 489.5 kB / 0.7461 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001693/0.2357, allocations: 1.092 MB / 0.7472 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.2368, allocations: 0.6389 MB / 0.7478 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007769/0.2376, allocations: 430.4 kB / 0.7482 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007869/0.2384, allocations: 478.2 kB / 0.7487 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.2385, allocations: 60 kB / 0.7487 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.2396, allocations: 487 kB / 0.7492 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003171/0.2399, allocations: 291.2 kB / 0.7495 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004339/0.2403, allocations: 390 kB / 0.7499 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.2419, allocations: 1.183 MB / 0.751 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2419, allocations: 3.938 kB / 0.751 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2419, allocations: 0 / 0.751 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.2419, allocations: 0 / 0.751 GB, free: 2.012 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001873/0.2438, allocations: 1.074 MB / 0.7521 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2438, allocations: 8.031 kB / 0.7521 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000149/0.244, allocations: 118.7 kB / 0.7522 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.2455, allocations: 220.2 kB / 0.7524 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.402/0.6475, allocations: 0.5939 MB / 0.753 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.259e-05/0.6476, allocations: 44.38 kB / 0.753 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.6478, allocations: 64.48 kB / 0.7531 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.6494, allocations: 1.033 MB / 0.7541 GB, free: 17.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.986e-05/0.6494, allocations: 6.156 kB / 0.7541 GB, free: 17.96 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-05/0.6495, allocations: 27.08 kB / 0.7541 GB, free: 17.96 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.625e-05/0.6496, allocations: 70.19 kB / 0.7542 GB, free: 17.96 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.6507, allocations: 0.6923 MB / 0.7549 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003757/0.6544, allocations: 5.739 MB / 0.7605 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007292/0.6552, allocations: 0.6051 MB / 0.7611 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007453/0.6559, allocations: 434.4 kB / 0.7615 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.656, allocations: 5.625 kB / 0.7615 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.656, allocations: 37.38 kB / 0.7615 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 1.883e-06/0.656, allocations: 0.6562 kB / 0.7615 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.003914/0.6599, allocations: 2.016 MB / 0.7635 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.66, allocations: 62.44 kB / 0.7635 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003907/0.6604, allocations: 459.8 kB / 0.764 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.6604, allocations: 31.77 kB / 0.764 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.6606, allocations: 389 kB / 0.7644 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.867e-05/0.6607, allocations: 167.4 kB / 0.7645 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.6608, allocations: 109.2 kB / 0.7646 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.395e-05/0.6609, allocations: 368.6 kB / 0.765 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.6612, allocations: 244.1 kB / 0.7652 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/0.6615, allocations: 453.9 kB / 0.7657 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007333/0.6623, allocations: 0.7476 MB / 0.7664 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6623, allocations: 2.625 kB / 0.7664 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001596/0.6639, allocations: 1.043 MB / 0.7674 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.6639, allocations: 9.281 kB / 0.7674 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.6639, allocations: 10.03 kB / 0.7674 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009568/0.6649, allocations: 315.3 kB / 0.7677 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.6652, allocations: 97.66 kB / 0.7678 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005557/0.6708, allocations: 7.481 MB / 0.7751 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005077/0.6713, allocations: 32.69 kB / 0.7752 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.6714, allocations: 27.64 kB / 0.7752 GB, free: 5.812 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000322/0.6717, allocations: 248.7 kB / 0.7754 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.097e-05/0.6718, allocations: 60.25 kB / 0.7755 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.6735, allocations: 0.8925 MB / 0.7764 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.6735, allocations: 4.844 kB / 0.7764 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.6735, allocations: 3.531 kB / 0.7764 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.6735, allocations: 5.125 kB / 0.7764 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00286/0.6764, allocations: 1.674 MB / 0.778 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.6764, allocations: 5.312 kB / 0.778 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.6766, allocations: 42.52 kB / 0.7781 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008948/0.6775, allocations: 306.5 kB / 0.7783 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.6775, allocations: 10.47 kB / 0.7784 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006599/0.6841, allocations: 7.462 MB / 0.7856 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/0.6842, allocations: 2.344 kB / 0.7856 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.6863, allocations: 0.9988 MB / 0.7866 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/0.6867, allocations: 174.8 kB / 0.7868 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.127e-05/0.6868, allocations: 15.67 kB / 0.7868 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/0.687, allocations: 20.58 kB / 0.7868 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.6872, allocations: 46.55 kB / 0.7869 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.6872, allocations: 10 kB / 0.7869 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004009/0.6876, allocations: 310.5 kB / 0.7872 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6876, allocations: 0 / 0.7872 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008223/0.6885, allocations: 194.4 kB / 0.7874 GB, free: 14.62 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002042/0.6905, allocations: 1.536 MB / 0.7889 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001964/0.6925, allocations: 1.197 MB / 0.79 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6925, allocations: 0 / 0.79 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.6938, allocations: 0.872 MB / 0.7909 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.6949, allocations: 199.8 kB / 0.7911 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008788/0.7037, allocations: 5.852 MB / 0.7968 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007345/0.7044, allocations: 0.988 MB / 0.7977 GB, free: 8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003349/0.7048, allocations: 96.56 kB / 0.7978 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003524/0.7051, allocations: 230.8 kB / 0.7981 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of SimCode: time 1.072e-06/0.7052, allocations: 0 / 0.7981 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0576/0.7628, allocations: 15.26 MB / 0.813 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.46, allocations: 8.062 kB / 0.813 GB, free: 1.602 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.405114109627903] Failed to read output from testmodel.py, exit status != 0: 11.545914589893073 11.558799199 11.314188254 Calling exit ...