Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 180.9 kB / 487.4 MB, free: 5.051 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.736/1.736, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009282/0.0009282, allocations: 105.4 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.816e-05/1.817e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2803, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9489/1.229, allocations: 167.9 MB / 1.37 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/1.23, allocations: 99.45 kB / 1.37 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02832/1.258, allocations: 13.02 MB / 1.383 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.343e-06/1.258, allocations: 0 / 1.383 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.199e-05/1.258, allocations: 7.547 kB / 1.383 GB, free: 31.05 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007235/1.259, allocations: 453.2 kB / 1.383 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/1.259, allocations: 15.58 kB / 1.383 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006615/1.26, allocations: 66.34 kB / 1.383 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/1.26, allocations: 231.1 kB / 1.384 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/1.26, allocations: 7.812 kB / 1.384 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.03e-05/1.26, allocations: 7.75 kB / 1.384 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002745/1.26, allocations: 150.7 kB / 1.384 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/1.261, allocations: 255.4 kB / 1.384 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/1.261, allocations: 0 / 1.384 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/1.261, allocations: 0 / 1.384 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.292e-05/1.261, allocations: 14.67 kB / 1.384 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/1.262, allocations: 1.541 MB / 1.385 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.483e-05/1.262, allocations: 74.03 kB / 1.386 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.568e-05/1.262, allocations: 43.98 kB / 1.386 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/1.262, allocations: 0 / 1.386 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/1.262, allocations: 37.94 kB / 1.386 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/1.262, allocations: 7.875 kB / 1.386 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0004556/1.263, allocations: 174.4 kB / 1.386 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/1.263, allocations: 79.98 kB / 1.386 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/1.263, allocations: 194.7 kB / 1.386 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/1.263, allocations: 33.48 kB / 1.386 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.913e-05/1.263, allocations: 160.2 kB / 1.386 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/1.263, allocations: 30.77 kB / 1.386 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/1.263, allocations: 0 / 1.386 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.263, allocations: 325.6 kB / 1.387 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.93e-05/1.264, allocations: 68.56 kB / 1.387 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/1.264, allocations: 160.1 kB / 1.387 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/1.264, allocations: 107.9 kB / 1.387 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.264, allocations: 3.938 kB / 1.387 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003501/1.264, allocations: 253.3 kB / 1.387 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004428/1.265, allocations: 1.135 MB / 1.388 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.265, allocations: 3.875 kB / 1.388 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/1.265, allocations: 3.875 kB / 1.388 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/1.265, allocations: 57.77 kB / 1.388 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/1.265, allocations: 11.91 kB / 1.388 GB, free: 26.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/1.265, allocations: 23.34 kB / 1.388 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/1.265, allocations: 7.875 kB / 1.388 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.286e-06/1.265, allocations: 3.844 kB / 1.388 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002779/1.266, allocations: 186.1 kB / 1.389 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/1.266, allocations: 7.812 kB / 1.389 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/1.266, allocations: 7.656 kB / 1.389 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/1.266, allocations: 49.62 kB / 1.389 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/1.266, allocations: 7.812 kB / 1.389 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/1.266, allocations: 11.67 kB / 1.389 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/1.266, allocations: 15.61 kB / 1.389 GB, free: 26.36 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.152e-05/1.266, allocations: 120.5 kB / 1.389 GB, free: 26.24 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001621/1.266, allocations: 114.2 kB / 1.389 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/1.266, allocations: 7.625 kB / 1.389 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/1.266, allocations: 125.3 kB / 1.389 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/1.266, allocations: 3.984 kB / 1.389 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.266, allocations: 7.797 kB / 1.389 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/1.266, allocations: 0 / 1.389 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005797/1.267, allocations: 0.5662 MB / 1.39 GB, free: 25.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/1.267, allocations: 3.969 kB / 1.39 GB, free: 25.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-05/1.267, allocations: 23.23 kB / 1.39 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/1.267, allocations: 7.766 kB / 1.39 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/1.267, allocations: 7.875 kB / 1.39 GB, free: 25.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.267, allocations: 0 / 1.39 GB, free: 25.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.267, allocations: 7.781 kB / 1.39 GB, free: 25.63 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/1.267, allocations: 403 kB / 1.39 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.938e-05/1.268, allocations: 107.4 kB / 1.39 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/1.268, allocations: 3.984 kB / 1.39 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/1.268, allocations: 11.83 kB / 1.39 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/1.268, allocations: 7.844 kB / 1.39 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/1.268, allocations: 3.844 kB / 1.39 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001162/1.268, allocations: 164.7 kB / 1.39 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.268, allocations: 0 / 1.39 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004893/1.268, allocations: 73.69 kB / 1.39 GB, free: 25.01 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007682/1.269, allocations: 1.437 MB / 1.392 GB, free: 23.61 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003068/1.269, allocations: 246.9 kB / 1.392 GB, free: 23.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.27, allocations: 4.25 kB / 1.392 GB, free: 23.56 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.246e-05/1.27, allocations: 41.84 kB / 1.392 GB, free: 23.55 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/1.27, allocations: 30.84 kB / 1.392 GB, free: 23.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006703/1.271, allocations: 327.2 kB / 1.392 GB, free: 23.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/1.271, allocations: 0.7409 MB / 1.393 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002066/1.271, allocations: 71.97 kB / 1.393 GB, free: 22.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.805e-05/1.271, allocations: 46.92 kB / 1.393 GB, free: 22.53 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/1.271, allocations: 0 / 1.393 GB, free: 22.53 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/1.295, allocations: 2.906 MB / 1.396 GB, free: 21.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/1.296, allocations: 158 kB / 1.396 GB, free: 20.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/2.924, allocations: 4 kB / 1.396 GB, free: 20.98 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat does not exist to compare? outputFormat=mat