Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.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.001123/0.001123, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 MB " [Timeout remaining time 180] 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.001265/0.001265, allocations: 165.9 kB / 22.45 MB, free: 2.102 MB / 18.57 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.8905/0.8905, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001643/0.001643, allocations: 241.3 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6768/0.6768, allocations: 138.4 MB / 454.3 MB, free: 30.02 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.6463 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.571e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.2282/0.2282, allocations: 4.21 MB / 0.6504 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001839/0.2301, allocations: 1.802 MB / 0.6521 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.2302, allocations: 14.38 kB / 0.6522 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008486/0.2311, allocations: 0.5971 MB / 0.6527 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003705/0.2314, allocations: 264.2 kB / 0.653 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.2318, allocations: 260.9 kB / 0.6532 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004498/0.2323, allocations: 0.6307 MB / 0.6539 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004294/0.2327, allocations: 340 kB / 0.6542 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.233, allocations: 352.5 kB / 0.6545 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003419/0.2333, allocations: 248.3 kB / 0.6548 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.2334, allocations: 39 kB / 0.6548 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/0.2336, allocations: 228.5 kB / 0.655 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.2337, allocations: 162.1 kB / 0.6552 GB, free: 52.97 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.2338, allocations: 154.9 kB / 0.6553 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005185/0.2344, allocations: 0.6247 MB / 0.6559 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2344, allocations: 2.219 kB / 0.6559 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.664e-06/0.2344, allocations: 0 / 0.6559 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.2344, allocations: 1.656 kB / 0.6559 GB, free: 52.7 MB / 0.5573 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.0008044/0.2352, allocations: 0.6639 MB / 0.6566 GB, free: 52.22 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2352, allocations: 13.22 kB / 0.6566 GB, free: 52.22 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.619e-05/0.2353, allocations: 77.2 kB / 0.6567 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005147/0.2358, allocations: 150.4 kB / 0.6568 GB, free: 52.13 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.2361, allocations: 272.9 kB / 0.6571 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.2361, allocations: 21.69 kB / 0.6571 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/0.2362, allocations: 42.88 kB / 0.6571 GB, free: 51.9 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/0.2367, allocations: 0.6777 MB / 0.6578 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2367, allocations: 192 / 0.6578 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.2367, allocations: 25.45 kB / 0.6578 GB, free: 51.43 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-05/0.2368, allocations: 37.19 kB / 0.6578 GB, free: 51.42 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.2372, allocations: 386.6 kB / 0.6582 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.2385, allocations: 1.72 MB / 0.6599 GB, free: 50 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.2389, allocations: 245.8 kB / 0.6601 GB, free: 49.9 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.999e-05/0.239, allocations: 98.41 kB / 0.6602 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.239, allocations: 6.688 kB / 0.6602 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.239, allocations: 37.31 kB / 0.6603 GB, free: 49.82 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.239, allocations: 3.625 kB / 0.6603 GB, free: 49.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23): time 0.001266/0.2402, allocations: 0.8927 MB / 0.6611 GB, free: 49.36 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.2403, allocations: 57.97 kB / 0.6612 GB, free: 49.29 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.2405, allocations: 311.9 kB / 0.6615 GB, free: 49.11 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.2405, allocations: 27.3 kB / 0.6615 GB, free: 49.08 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.162e-05/0.2406, allocations: 232.7 kB / 0.6617 GB, free: 48.89 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.2406, allocations: 89.75 kB / 0.6618 GB, free: 48.82 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.028e-05/0.2407, allocations: 70.45 kB / 0.6619 GB, free: 48.77 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.812e-05/0.2407, allocations: 343.2 kB / 0.6622 GB, free: 48.44 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.2408, allocations: 101.2 kB / 0.6623 GB, free: 48.41 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.241, allocations: 192.5 kB / 0.6625 GB, free: 48.26 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.2412, allocations: 320.8 kB / 0.6628 GB, free: 48.06 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2412, allocations: 2.859 kB / 0.6628 GB, free: 48.06 MB / 0.5573 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004745/0.2417, allocations: 441.4 kB / 0.6632 GB, free: 47.86 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.2417, allocations: 6.781 kB / 0.6632 GB, free: 47.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2418, allocations: 2 kB / 0.6632 GB, free: 47.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000238/0.242, allocations: 102.6 kB / 0.6633 GB, free: 47.81 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.2421, allocations: 60.61 kB / 0.6634 GB, free: 47.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.2436, allocations: 4.072 MB / 0.6674 GB, free: 43.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.2438, allocations: 8.547 kB / 0.6674 GB, free: 43.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.2438, allocations: 14 kB / 0.6674 GB, free: 43.88 MB / 0.5573 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.0001287/0.2439, allocations: 182.4 kB / 0.6676 GB, free: 43.73 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.2439, allocations: 31.94 kB / 0.6676 GB, free: 43.71 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.457e-05/0.244, allocations: 41.59 kB / 0.6676 GB, free: 43.68 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.244, allocations: 3.781 kB / 0.6676 GB, free: 43.68 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.244, allocations: 1.875 kB / 0.6676 GB, free: 43.68 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.244, allocations: 1.406 kB / 0.6676 GB, free: 43.68 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.2443, allocations: 336.1 kB / 0.668 GB, free: 43.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2443, allocations: 5.375 kB / 0.668 GB, free: 43.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.2444, allocations: 36.06 kB / 0.668 GB, free: 43.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001757/0.2446, allocations: 93 kB / 0.6681 GB, free: 43.41 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.2446, allocations: 5.812 kB / 0.6681 GB, free: 43.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.2458, allocations: 4.059 MB / 0.6721 GB, free: 39.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2458, allocations: 3.938 kB / 0.6721 GB, free: 39.49 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004793/0.2463, allocations: 0.5602 MB / 0.6726 GB, free: 39.17 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.332e-05/0.2464, allocations: 47.34 kB / 0.6727 GB, free: 39.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.2464, allocations: 5.094 kB / 0.6727 GB, free: 39.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.2465, allocations: 13.23 kB / 0.6727 GB, free: 39.14 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.2466, allocations: 15.59 kB / 0.6727 GB, free: 39.14 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.2466, allocations: 16.28 kB / 0.6727 GB, free: 39.13 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001352/0.2467, allocations: 212.1 kB / 0.6729 GB, free: 39.02 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2467, allocations: 0 / 0.6729 GB, free: 39.02 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003317/0.247, allocations: 99.45 kB / 0.673 GB, free: 39 MB / 0.5573 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.0006202/0.2477, allocations: 1.095 MB / 0.6741 GB, free: 38.16 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005058/0.2482, allocations: 0.5967 MB / 0.6747 GB, free: 37.73 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2482, allocations: 2.156 kB / 0.6747 GB, free: 37.73 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.2484, allocations: 459.3 kB / 0.6751 GB, free: 37.36 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.2487, allocations: 80.45 kB / 0.6752 GB, free: 37.34 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.2514, allocations: 3.35 MB / 0.6784 GB, free: 35.16 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.2515, allocations: 226.8 kB / 0.6787 GB, free: 35.06 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001486/0.2517, allocations: 56.16 kB / 0.6787 GB, free: 35.05 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.716e-05/0.2518, allocations: 111.4 kB / 0.6788 GB, free: 34.97 MB / 0.5573 GB Notification: Performance of SimCode: time 9.81e-07/0.2518, allocations: 0 / 0.6788 GB, free: 34.97 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.2805, allocations: 8.916 MB / 0.6875 GB, free: 33.49 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.043/7.323, allocations: 9 kB / 0.6875 GB, free: 33.48 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.846949708648026] Failed to read output from testmodel.py, exit status != 0: 7.40889170113951 7.417649191 7.181295923 Calling exit ...