Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_RCModel",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.001956/0.001955, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00352/0.00352, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.628/2.628, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.965/4.965, allocations: 409.2 MB / 0.6838 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006895/0.0006898, allocations: 8 kB / 0.8375 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.255/1.256, allocations: 146.8 MB / 0.9809 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007573/1.264, allocations: 3.685 MB / 0.9845 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004675/1.268, allocations: 1.731 MB / 0.9862 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004019/1.269, allocations: 11.94 kB / 0.9862 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004053/1.269, allocations: 67.53 kB / 0.9862 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0009436/1.27, allocations: 187.4 kB / 0.9864 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000938/1.271, allocations: 194.1 kB / 0.9866 GB, free: 456 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009294/1.272, allocations: 359.2 kB / 0.9869 GB, free: 96 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008176/1.273, allocations: 392.7 kB / 0.9873 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004289/1.273, allocations: 163.5 kB / 0.9875 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005309/1.274, allocations: 191.2 kB / 0.9876 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.39e-05/1.274, allocations: 20 kB / 0.9877 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000455/1.274, allocations: 115.8 kB / 0.9878 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001643/1.275, allocations: 115.7 kB / 0.9879 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/1.275, allocations: 101.5 kB / 0.988 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0007852/1.275, allocations: 457.1 kB / 0.9884 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.276, allocations: 0 / 0.9884 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.156e-06/1.276, allocations: 0 / 0.9884 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.898e-06/1.276, allocations: 4 kB / 0.9884 GB, free: 14.54 MB / 0.7481 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.001981/1.278, allocations: 0.6588 MB / 0.9891 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.547e-05/1.278, allocations: 8.031 kB / 0.9891 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001689/1.278, allocations: 82.52 kB / 0.9892 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/1.28, allocations: 159.4 kB / 0.9893 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000806/1.281, allocations: 325.2 kB / 0.9896 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/1.281, allocations: 29 kB / 0.9896 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/1.281, allocations: 35.95 kB / 0.9897 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/1.282, allocations: 0.5197 MB / 0.9902 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/1.282, allocations: 4 kB / 0.9902 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.348e-05/1.282, allocations: 23.98 kB / 0.9902 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.037e-05/1.282, allocations: 24.64 kB / 0.9902 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/1.283, allocations: 390.2 kB / 0.9906 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004466/1.288, allocations: 2.411 MB / 0.993 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008327/1.289, allocations: 263.7 kB / 0.9932 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/1.289, allocations: 0 / 0.9932 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/1.289, allocations: 34.56 kB / 0.9932 GB, free: 9.219 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=20): time 2.264e-06/1.289, allocations: 0 / 0.9932 GB, free: 9.219 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.00368/1.292, allocations: 1.126 MB / 0.9943 GB, free: 7.996 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/1.293, allocations: 55.41 kB / 0.9944 GB, free: 7.93 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005336/1.293, allocations: 292.5 kB / 0.9947 GB, free: 7.637 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/1.293, allocations: 33.64 kB / 0.9947 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/1.293, allocations: 231.6 kB / 0.9949 GB, free: 7.367 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/1.294, allocations: 86.77 kB / 0.995 GB, free: 7.281 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/1.294, allocations: 15.94 kB / 0.995 GB, free: 7.266 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000188/1.294, allocations: 338.8 kB / 0.9954 GB, free: 6.926 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/1.294, allocations: 100.6 kB / 0.9955 GB, free: 6.824 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/1.294, allocations: 187.8 kB / 0.9956 GB, free: 6.602 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/1.295, allocations: 129.1 kB / 0.9958 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.295, allocations: 0 / 0.9958 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001194/1.296, allocations: 441.9 kB / 0.9962 GB, free: 6.031 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/1.296, allocations: 4.344 kB / 0.9962 GB, free: 6.027 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/1.296, allocations: 8 kB / 0.9962 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005302/1.297, allocations: 94.5 kB / 0.9963 GB, free: 5.918 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/1.297, allocations: 59.91 kB / 0.9963 GB, free: 5.859 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004973/1.302, allocations: 4.115 MB / 1 GB, free: 1.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/1.303, allocations: 8 kB / 1 GB, free: 1.332 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/1.303, allocations: 12 kB / 1 GB, free: 1.32 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003777/1.303, allocations: 189.9 kB / 1.001 GB, free: 1.125 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/1.303, allocations: 27.62 kB / 1.001 GB, free: 1.098 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/1.303, allocations: 38.31 kB / 1.001 GB, free: 1.059 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.303, allocations: 4 kB / 1.001 GB, free: 1.055 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.303, allocations: 0 / 1.001 GB, free: 1.055 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/1.303, allocations: 3.984 kB / 1.001 GB, free: 1.051 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007594/1.304, allocations: 401.4 kB / 1.001 GB, free: 0.6094 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.304, allocations: 0 / 1.001 GB, free: 0.6094 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/1.304, allocations: 35.92 kB / 1.001 GB, free: 0.5742 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005295/1.305, allocations: 94.5 kB / 1.001 GB, free: 484 kB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/1.305, allocations: 4 kB / 1.001 GB, free: 480 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004896/1.31, allocations: 4.103 MB / 1.005 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.31, allocations: 0 / 1.005 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/1.311, allocations: 0.5546 MB / 1.006 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/1.312, allocations: 128.7 kB / 1.006 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.558e-05/1.312, allocations: 4 kB / 1.006 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/1.312, allocations: 15.98 kB / 1.006 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.632e-05/1.312, allocations: 19.97 kB / 1.006 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/1.312, allocations: 7.938 kB / 1.006 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003532/1.313, allocations: 211.1 kB / 1.006 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.11e-07/1.313, allocations: 0 / 1.006 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009777/1.314, allocations: 96 kB / 1.006 GB, free: 10.9 MB / 0.7637 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001876/1.315, allocations: 1.095 MB / 1.007 GB, free: 9.766 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001449/1.317, allocations: 0.616 MB / 1.008 GB, free: 9.113 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.317, allocations: 0 / 1.008 GB, free: 9.113 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000804/1.318, allocations: 471.9 kB / 1.008 GB, free: 8.613 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007042/1.319, allocations: 73.66 kB / 1.008 GB, free: 8.543 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006162/1.325, allocations: 3.699 MB / 1.012 GB, free: 4.742 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007124/1.325, allocations: 0.8387 MB / 1.013 GB, free: 3.879 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000419/1.326, allocations: 66.91 kB / 1.013 GB, free: 3.812 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/1.326, allocations: 107.4 kB / 1.013 GB, free: 3.707 MB / 0.7637 GB Notification: Performance of SimCode: time 3.737e-06/1.326, allocations: 0 / 1.013 GB, free: 3.707 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1027/1.429, allocations: 7.12 MB / 1.02 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003707/1.429, allocations: 196.1 kB / 1.02 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.543/4.972, allocations: 0 / 1.02 GB, free: 12.55 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat does not exist to compare? outputFormat=mat